Oliver Eyton-Williams f1c9b08cf3 fix(curriculum): add isHidden: false to challenges
This includes certificates (where it does nothing), but does not
include any translations.
2020-05-25 16:25:19 +05:30

1.5 KiB

id, title, challengeType, isHidden, videoUrl, forumTopicId
id title challengeType isHidden videoUrl forumTopicId
bad87fee1348bd9aedf08801 Inform with the Paragraph Element 0 false https://scrimba.com/p/pVMPUv/ceZ7DtN 18202

Description

p elements are the preferred element for paragraph text on websites. p is short for "paragraph". You can create a paragraph element like this: <p>I'm a p tag!</p>

Instructions

Create a p element below your h2 element, and give it the text "Hello Paragraph". Note: As a convention, all HTML tags are written in lowercase, for example <p></p> and not <P></P>.

Tests

tests:
  - text: Your code should have a valid <code>p</code> element.
    testString: assert(($("p").length > 0));
  - text: Your <code>p</code> element should have the text "Hello Paragraph".
    testString: assert.isTrue((/hello(\s)+paragraph/gi).test($("p").text()));
  - text: Your <code>p</code> element should have a closing tag.
    testString: assert(code.match(/<\/p>/g) && code.match(/<\/p>/g).length === code.match(/<p/g).length);

Challenge Seed

<h1>Hello World</h1>
<h2>CatPhotoApp</h2>

Solution

<h1>Hello World</h1>
<h2>CatPhotoApp</h2>
<p>Hello Paragraph</p>