4/10 question 1


#1


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


Did you add a font-family property of Palatino with fall-back fonts of 'Palatino Linotype' and serif? -- that's the error message, but as anyone can see, that isn't the problem.

Please note I've tried (1) refreshing the page, (2) using a different browser, and (3) setting the zoom in my browser to 100%. None of it has worked.


body {
	font-family: Georgia, serif;
	height: 100%;
	margin: 0;
	text-align: center;
	width: 100%;
}

h1 {
  font-family: Palatino, 'Palatino Linotype', serif;
	color: rgb(49,105,163);
  font-size: 32px; 
}

h2 {
	color: #ffffff;
	font-size: 56px; 
}


.hero {
	background-image: url('https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-2/bg.jpg');
	background-position: center top;
	background-size: cover;
	padding: 250px 0;
	margin: 30px;
	text-shadow: 0 2px #000000;
	font-family: 'Trebuchet MS', 'Helvetica';
}


p {
	color: #ffffff;
	font-size: 2em;
}

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

#footer {
	color: DarkSlateGray;
	font-size: 16px;
}


#2

Try removing the spaces before the commas.


#3

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