Stuck on Making A Website 7/10, Instruction 3


<Below this line, add a link to the EXACT exercise that you are stuck at.>
I’m stuck on Making A Website: font-size (7/10), Instruction 3

<In what way does your code behave incorrectly? Include ALL error messages.>
When I try to run this code, I get the message:
“Did you add a font-size of 2rem for the p selector in main.css?”


body {
height: 100%;
margin: 0;
text-align: center;
width: 100%;

h1 {
font-size: 32px;
font-family: Palatino, ‘Palatino Linotype’, serif;
color: rgb(27,108,4);

h2 {
font-size: 56px;

.hero {
padding: 250px 0;
margin: 30px;
font-family: ‘Trebuchet MS’, Helvetica, sans-serif;

p {
font-size: 2rem;

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

<do not remove the three backticks above>

Could you provide the HTML-code you are using in your idex.html

Yeah sure, here it is:
    <!DOCTYPE html>
        	<link rel="stylesheet" type="text/css" href="main.css"/>
        	<h1>Mystwood Publishers Ltd.</h1>
        	<div class="hero">
        		<p>A book by J. Daniel Bedford</p>
        		<a href="#">Read now.</a>
        	<p>&copy; Mystwood Publishers Limited</p>

A post was split to a new topic: I’m stuck on Making A Website: font-size

Hopefully you’ve resolved this by now, and adding the html code here just wasn’t necessary.
Are you using Chrome or Chromium? If you haven’t gotten past this question and you are using one of those browsers, try to complete the exercise using Firefox. That has worked for several others including me. Good luck!

Thank you, I have resolved this issue. But thanks for helping anyway