- Add an unordered list with class
todos
to the main section - Add 4 list items with class
todo
inside of that list with the following content<label><input type="checkbox" /> <span class="title"> Todo </span> </label>
- Add a span and a button to your footer
- Span content should be
4 items left
and button should sayClear Completed
and have a class ofsubmit
- Go into the CSS file and add
display: flex
to the footer. Also addflex-grow:1
to the span inside of the footer
Hint: Look back at the CSS demo to see the various ways you can use selectors to target existing HTML
There are many strategies for creating and organizing class names in a large application. This lesson is focused on using CSS selectors, not the optimized way to scale your CSS.