Unit 2 ยท This Is Me In Tech
Stage 5 of 7
Unit 2 ยท Stage 5
Your cards have pictures. Now make the words inside them easy and beautiful to read. Good typography is what makes a page feel finished. (pause on a highlighted word to see what it does)
Style the <h2> heading and the <p> text inside each card so they are clear and comfortable to read.
colorfont-sizeline-height1.6 gives paragraphs room to breathe and is easy on the eyes.margin-top0 on the heading pulls it snug under the image instead of leaving a gap.h2 rule and the p rule inside your <style>. Not sure how they should look? Use the example below, then press โถ Run.h2 {
color: #50586C;
font-size: 20px;
margin-top: 0;
}
p {
color: #555;
font-size: 15px;
line-height: 1.6;
}
What property sets the space between lines of text for easy reading? Type it, then press Submit to unlock the next steps.
Each card now ends with a line that reads by [Your Name], marked with the class card-author. Style it small, italic, and pink so it reads like a signature.
font-styleitalic slants the letters, the classic look of a signature or a quote.color#ec65f8 is the same pink as your name in the header, tying the page together.margin-top.card-author rule under your p rule. Use the example below if you need it, then press โถ Run..card-author {
font-size: 13px;
color: #ec65f8;
font-style: italic;
margin-top: 12px;
}
To complete Stage 5, your paragraphs need a line-height and your author line needs font-style: italic. Press Check my work when you are ready. This opens Stage 6 and lets your teacher see that you finished.