6. Set the font-family of the h1 element


#1

After some time, I got the link in the header and I didn't have a problem with that again. I then went to main.css to insert the font-family as 'Shift', sans-serif; and when I did that, I get a message that says...

Oops, try again. Set the font-family of the h1 element inside div class="jumbotron">../div> to 'Shift', sans-serif;

I should already have the font-family in there. Does anyone know what I am doing wrong?

.jumbotron h1 {
color: #fff;
font-size: 48px;
font-weight: bold;
font-family: 'Shift', sans-serif;
}


Make a website: CSS Styling 6/10
#2

Never mind. I reset the code and retried and it worked.


#3

A post was split to a new topic: 6. Set the font-family of the h1 element