Unit 3 ยท Read All About It
Stage 1 of 7
Unit 3 ยท Stage 1
Every newspaper opens with a masthead: the bold banner across the top with the paper's name. You will build one for your own paper, The Native Voice. The editor already has the page. Play with it, or press ๐ Type it with me to be guided. (pause on a highlighted word to see what it does)
The masthead is the title banner at the very top. In your HTML it is a <header> with the class masthead, holding the paper's name and a tagline.
First set the whole page, then the dark masthead banner with a bold red line under it.
font-familyGeorgia, serif is a classic newspaper typeface. Serif fonts have small strokes on the letters, the traditional print look.background-color#f4f1ea on the body is a warm off-white, like newsprint.border-bottom5px solid #b8232f is the bold red rule under the banner.padding<style>, add a body rule (font-family: Georgia, serif;, background-color: #f4f1ea;) and a .masthead rule (background-color: #1a1a1a;, color: #ffffff;, text-align: center;, padding: 24px;, border-bottom: 5px solid #b8232f;) then press โถ Run.What property adds space between the letters of a title? Type it, then press Submit to unlock the next steps.
Now style the big paper name and the small tagline under it.
font-size52px makes the paper's name large and commanding, like a real front page.letter-spacingfont-styleitalic slants the tagline so it reads like a subtitle.The Native Voice in the HTML to your own paper name, and put your Tribal Nation in the tagline..masthead h1 rule (font-size: 52px;, margin: 0;, letter-spacing: 2px;) and a .masthead .tagline rule (margin: 6px 0 0;, font-style: italic;, color: #cfc8bd;) then Run.To complete Stage 1, your .masthead needs a background color and the red border-bottom. Press Check my work when you are ready. This opens Stage 2 and lets your teacher see that you finished.