Lesson 6/10 css class selectors

<Below this line, add a link to the exact exercise that you are stuck at.>

<Describe the problem. Which error message are you seeing?>

Did you add a font-family of “Trebuchet MS” with Helvetica and sans-serif as fallbacks?


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

h1 {
	font-size: 32px;
  font-family: Palatino, 'Palatino Linotype', serif;
  color: rgb(121,149,117);
}

h2 {
	font-size: 32px;
}


.hero {
  font-family:'trebuchet ms',helvetica,sans-serif;padding: 250px 0;
	margin: 30px;
	}


p {

}

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

hey guys can someone show me in a simple way what's wrong with my code? thank you!
1 Like

t needs to be in uppercase also ms
Trebuchet MS


Even then, they still happen

thank you,helvetica is also the back of the capital:grinning:

1 Like

Yes… Once you correct Helvetica you should be able to pass

10 posts were split to a new topic: 6. CSS Class selectors

My Code is not working i dont know why…
My Code is body {
height: 100%;
margin: 0;
text-align: center;
width: 100%;
}

h1 {
font-family: Palatino
,serif;
color: rgb(124,100,180);
font-size: 32px;
}

h2 {
font-family:serif;
color: rgb(100,60,200);
font-size: 32px;
}
.hero{
font-family: ‘Trebuchet MS’,
Helvetica,sans-serif;
padding:250px 0
margin 30px;
}

p {

}

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

4 posts were split to a new topic: 6/10 CSS selectors

@codeblaster80442 Hey still need help ? If so please let me know the error and lesson URL…


@designblaster11382 Your CSS should be in main.css tab

A post was split to a new topic: Lesson 6/10

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