Css 9/10


#1

https://www.codecademy.com/en/courses/make-a-website/lessons/closer-look-css/exercises/id-selectors?action=lesson_resume

I am not able to get the third tick where they instruct me to add a font size to the footer id in the main.css


Replace this line with your code. 
#footer {
  font-size :0.75rem;
}


#2

Can you share all of your code? And what is your error message?


#3

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

h1 {
	font-family: Palatino, 'Palatino linotype', serif; font-size: 32px; color: rgb(218,190,206);
}

h2 {
	font-size: 56px;
}


.hero {
 background-image: url("https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-2/bg.jpg"); 
   background-size: cover;
   font-family: 'Trebuchet MS', Helvetica, sans-serif; color: #ffffff;
    	padding: 250px 0;
    	margin: 30px;
}
#footer {
  font-size :0.75rem;
}

p {
  font-size : 2rem;}



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

#4

Try removing the space between size and :


#5

yes. That worked. Thanks :+1:


#6

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