What you will use in this project
- Text formatting
- Quotations with <blockquote> and <cite>
- Internal CSS with <style>
- HEX colors
In index.html:
<img> line, add an <h2> for today's specials.<del>, the new price in <ins>.<mark>.<img ...> line), write this heading:<h2>Today's Specials</h2><del> draws a line through the old price. <ins> draws a line under the new price:<p><strong>Pancake stack</strong> with maple syrup. Was <del>$9</del>, now only <ins>$7</ins>!</p><mark> gives a word a yellow background. <em> makes a word italic:<p>Try our <mark>new</mark> <em>cherry croissant</em>. It sells out fast.</p>In index.html:
<mark>, add an <h2> for guest reviews.<blockquote>. After each </blockquote>, add a <p> with the name of the guest.<cite>.<h2>What Guests Say</h2><blockquote>The best pancakes I have ever had. I come back every Sunday!</blockquote>
<p>Sam, from <cite>The Food Blog</cite></p><blockquote> with your own words:<blockquote>Cozy place, friendly people, and the coffee is perfect.</blockquote><p>Alex</p><style> element in the head holds CSS for the whole page.In index.html:
<title>My Website</title>, add a <style> element.<body> and <h1> to body and h1 rules there. Delete those two style attributes.h2 rule with a font-size.<title>My Website</title>. Under that line, before </head>, write:<style>
body {background-color: #F2F1EE; font-family: system-ui;}
h1 {font-size: 80px; text-align: center;}
</style><body style="background-color:#F2F1EE; font-family:system-ui;"> back to <body>.<h1 style="font-size:80px; text-align:center;"> back to <h1>.<p style="..."> of the short sentence under the name.h2 {font-size: 30px; letter-spacing: -1px;}In index.html:
blockquote rule with background-color: white, a border-radius, padding: 20px 24px and margin: 16px 0.mark rule with a light orange HEX background-color, like #FFE8D6.blockquote {
background-color: white;
border-radius: 20px;
padding: 20px 24px;
margin: 16px 0;
font-size: 20px;
}<mark> a soft orange background:mark {background-color: #FFE8D6;}