Please help me as to where to add the selector


#1




Sprout


h1 {
font-family: Palatino, 'Palatino Linotype', serif;
}

Mystwood Publishers Ltd."

<div class="hero">
	<h2>Sprout.</h2>
	<p>A book by J. Daniel Bedford</p>
	<a href="#">Read now.</a>
</div>
<p>&copy; Mystwood Publishers Limited</p>



#2

I'm not compeltely sure what your question is but I spot a possible solution. In your CSS code you are trying to style h1 (header 1) but I can only see a h2 (header 2) in your HTML code.

Try chaging that and see what happens :relaxed:


#3



Sprout


h1 {
font-family: Palatino, 'Palatino Linotype', serif;
}

"Mystwood Publishers Ltd."

<div class="hero">
	<h2>Sprout.</h2>
	<p>A book by J. Daniel Bedford</p>
	<a href="#">Read now.</a>
</div>
<p>&copy; Mystwood Publishers Limited</p>



i am not sure as to where to place the h1 selector


#4

You don't need to place h1 as it's already there in index.html.. You just need to find the selector in main.css to style it.

So open the exercise > go to main.css > change the h1 selector as described in the instructions.

Hope it helps :slight_smile:


#5

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