Learn to Write Concise HTML/CSS by Following Good Coding Practices
Follow a set of instructions to shape user interfaces gradually.
Write the HTML code following the nesting instructions
Read the CSS instruction and fill the blank (CSS property value)
<a href="#" class="card"> <img src="vr-headset.jpg" class="card__picture" alt="Girl Wearing VR Headset" /> <div class="card__content"> <h3 class="card__title">VR Headsets</h3> <span class="card__category">head-mounted display</span> </div> </a>
A.card
should exist
IMG.card__picture
should exist within A.card
IMG.card__picture
src
attribute value should have vr-headset.jpg
corresponding picture link
IMG.card__picture
alt
attribute should have a Girl Wearing VR Headset
value
DIV.card__content
should be a sibling of IMG.card__picture
H3.card__title
should exist within DIV.card__content
SPAN.card__category
should be a sibling of H3.card__title
Inspect and Compare your result with the preview.
Adapt user interfaces to multiple resolutions.
Challenge yourself in writing semantic code.
Put your HTML/CSS skills to the test and compete against others around the world while you learn! Challenge yourself by completing each challenge. Try to be the top in time and make it faster than others.
Leaderboard