Goal: Practice using the the tags we learned in the previous lesson:
<div>
tags — places to add classes to large parts of our page and separate out content<span>
tags — places to add classes to content within block elementsAnd practice using the CSS sizing units we learned in the previous lesson:
px
%
vh
and vw
div
and a span
?span
but not a div
?div
but not a span
?px
and %
, which sizing unit will cause an element to change size in relation to its parent element? Meet the goal by completing one of these projects. Make sure to make commits regularly and push to the project's remote repository on GitHub.
boring-lecture
page and remove the intro
class from the elements themselves, and create a <div>
with the intro
class to hold the elements.<div>
s to group together and style each blog post.<div>
s and <span>
s to style sections for your education, work experience, skills, etc.