FCC Challenge 25: Create a Bulleted Unordered List
March 10, 2016
In Free Code Camp Challenge 25 we learn to created unordered bullet lists using HTML.
HTML has a special element for creating unordered lists, or bullet point-style lists.
Unordered lists start with a [html]
[/html] element. Then they contain some number of [html]
- [/html] elements.
For example:
[html]
milk
cheese
[/html]
would create a bullet point-style list of “milk” and “cheese”.
Remove the last two p elements and create an unordered list of three things that cats love at the bottom of the page.
In the original code below we first need to remove the last two p elements:
[html highlight=”34-35″]
CatPhotoApp
Click here for cat photos.
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
[/html]In the updated code below we then need to add three unordered list items:
[html highlight=”34-38″]
CatPhotoApp
Click here for cat photos.
- Yarn
- Milk
- Sleep