Click here to view more cat photos.
Things cats love:
- cat nip
- laser pointers
- lasagna
Top 3 things cats hate:
ordered lists, or numbered lists.
Ordered lists start with an opening <ol> element, followed by any number of <li> elements. Finally, ordered lists close with a </ol>
For example:
<ol>would create a numbered list of "Garfield" and "Sylvester".
<li>Garfield</li>
<li>Sylvester</li>
</ol>
ul element.
testString: 'assert.equal($("ul").length, 1, "You should have only one ul element.");'
- text: You should have only one ol element.
testString: 'assert.equal($("ol").length, 1, "You should have only one ol element.");'
- text: You should have three li elements within your ul element.
testString: 'assert.equal($("ul li").length, 3, "You should have three li elements within your ul element.");'
- text: You should have three li elements within your ol element.
testString: 'assert.equal($("ol li").length, 3, "You should have three li elements within your ol element.");'
- text: Make sure your ul element has a closing tag.
testString: 'assert(code.match(/<\/ul>/g) && code.match(/<\/ul>/g).length === code.match(/ul element has a closing tag.");'
- text: Make sure your ol element has a closing tag.
testString: 'assert(code.match(/<\/ol>/g) && code.match(/<\/ol>/g).length === code.match(/ol element has a closing tag.");'
- text: Make sure your li element has a closing tag.
testString: 'assert(code.match(/<\/li>/g) && code.match(/li element has a closing tag.");'
```
Click here to view more cat photos.
Things cats love:
Top 3 things cats hate: