Lesson 6/10 css class selectors


#1

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!


#2

t needs to be in uppercase also ms
Trebuchet MS


#3

....


Even then, they still happen


#4

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


#5

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


#6

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


#16

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;
}


#17

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


#20

@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


#21

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


#22

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