I'm stuck on Making A Website: font-size (7/10), Instruction 3 When I run it, it says:"Did you add a font-size of 2rem for the p selector in main.css?"


In main.css, for the p selector, add: font-size: 2rem;


Did you set your browser zoom to default?
ctrl + 0 for Windows and cmd + 0 for Macs.
If you did (and it still doesn't work), can you show me your whole css and html?


body {font-size: 56px
height: 100%;
margin: 0;
text-align: center;
width: 100%;

h1 {font-family: Palatino, 'Palatino Linotype', serif;
font-size: 45px; color:rgb(20,20,100);

h2 {
font-size: 56px;

.hero {font-family:'Trebuchet MS', Helvetica, sans-serif;}
padding: 250px
margin: 30px;

p {
font-size: 2rem;

.hero a {
color: #00FFAA;
font-size: 24px;
text-decoration: none;


@datfatcat it still is not working


You have an extra closing curly bracket in your .hero selector.
And make sure all your properties end with a semicolon!


Thank you @datfatcat, it worked!


This topic was automatically closed after 7 days. New replies are no longer allowed.