localeTitle: Создать маркированный неупорядоченный список
---
## Description
<sectionid="description"> HTML имеет специальный элемент для создания <code>unordered lists</code> или списков стилей в стиле пули. Неупорядоченные списки начинаются с элемента открытия <code><ul></code> , за которым следует любое количество элементов <code><li></code> . Наконец, неупорядоченные списки закрываются с помощью <code></ul></code> Например: <blockquote><UL><br><Li> молоко </ li><br><Li> сыр </ li><br></ UL></blockquote> создаст список стиля пули «молоко» и «сыр». </section>
## Instructions
<sectionid="instructions"> Удалите последние два элемента <code>p</code> и создайте неупорядоченный список из трех вещей, которые любят кошки в нижней части страницы. </section>
## Tests
<sectionid='tests'>
```yml
tests:
- text: Создайте элемент <code>ul</code> .
testString: 'assert($("ul").length > 0, "Create a <code>ul</code> element.");'
- text: У вас должно быть три элемента <code>li</code> в вашем элементе <code>ul</code> .
testString: 'assert($("ul li").length > 2, "You should have three <code>li</code> elements within your <code>ul</code> element.");'
- text: 'Убедитесь, что ваш элемент <code>ul</code> имеет закрывающий тег.'
testString: 'assert(code.match(/<\/ul>/gi) && code.match(/<ul/gi)&&code.match(/<\/ul>/gi).length === code.match(/<ul/gi).length,"Makesureyour<code>ul</code> element has a closing tag.");'
- text: 'Убедитесь, что ваши элементы <code>li</code> закрывают теги.'
testString: 'assert(code.match(/<\/li>/gi) && code.match(/<li[\s>]/gi) && code.match(/<\/li>/gi).length === code.match(/<li[\s>]/gi).length, "Make sure your <code>li</code> elements have closing tags.");'
- text: Убедитесь, что ваши элементы <code>li</code> не содержат пустую строку или только пробел.
testString: assert($("ul li").filter((_, item) => !$(item).text().trim()).length === 0, 'Make sure your <code>li</code> elements don\’t contain an empty string or only white-space.');
<p>Click here to view more <ahref="#">cat photos</a>.</p>
<ahref="#"><imgsrc="https://bit.ly/fcc-relaxing-cat"alt="A cute orange cat lying on its back."></a>
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>