The purpose of this task is to help you practice using <div> and <span> elements in their proper syntax.
Observe the files in this project:
README.mdis the file you're reading.index.htmlis where you will be doing your coding.result.pngis the result you should be aiming for withindex.html.style.cssis the styling that will makeindex.htmllook pretty. You're welcome. (you do not need to edit this file)
- Wrap all content inside
bodyin onedivwith the attributeclass="wrapper".- Don't forget to add a
</div>at the end (right before</body>).
- Don't forget to add a
- Wrap all similarities in one
divwith the attributeclass="similarities". - Wrap all differences in one
divwith the attributeclass="differences". - Wrap the words containers, block, and inline in their own
spanelements with attributeclass="blue".- (make sure you look at the result.png to see those 3 words that need to be blue)
- When you are finished, the preview should look like
result.png. - Make sure your identations are correct so that you can easily see which elements are inside of others (very helpful for debugging
divs). - If you finish early, add a section to the bottom with links to helpful resources for learning more about
<div>s and<span>s.
Happy coding!