--- id: bad87fee1348bd9aedf08801 title: Inform with the Paragraph Element challengeType: 0 videoUrl: 'https://scrimba.com/p/pVMPUv/ceZ7DtN' --- ## 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
```yml tests: - text: Create a p element. testString: assert(($("p").length > 0), 'Create a valid p element.'); - text: Your p element should have the text "Hello Paragraph". testString: assert.isTrue((/hello(\s)+paragraph/gi).test($("p").text()), 'Your p element should have the text "Hello Paragraph".'); - text: Make sure your p element has a closing tag. testString: assert(code.match(/<\/p>/g) && code.match(/<\/p>/g).length === code.match(/

p element has a closing tag.'); ```

## Challenge Seed
```html

Hello World

CatPhotoApp

```
## Solution
```html

Hello World

CatPhotoApp

Hello Paragraph

```