p
. p
- это сокращение от слова «paragraph» (параграф). Вы можете создать параграф с этим элементом следующим образом: <p>I'm a p tag!</p>
p
элемент под вашим элементом h2
с текстом «Hello Paragraph».
p
element.
testString: assert(($("p").length > 0));
- text: Your p
element should have the text "Hello Paragraph".
testString: assert.isTrue((/hello(\s)+paragraph/gi).test($("p").text()));
- text: Make sure your p
element has a closing tag.
testString: assert(code.match(/<\/p>/g) && code.match(/<\/p>/g).length === code.match(/
## Challenge Seed
Hello ParagraphHello World
CatPhotoApp
```
Hello World
CatPhotoApp