CSS Exercise 8


#1

I don't understand where I have gone wrong? Can someone give me a couple of tips. It's the problem with the - font-family: 'Shift', sans-serif;

Cheers!

.nav a { 
color: #5a5a5a;
font-size: 24px;
font-weight: bold;
padding-top: 14px;
padding-bottom: 14px;
padding-left: 10px;
padding-right: 10px;
text-transform: uppercase;
}
 
<div>
.jumbotron {
     height:500px;
     background-image:url('http://goo.gl/04j7Nn');
</div>
 }
 

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

 .jumbotron p {
     color:#fff;
     font-size:20px;
     </div>
 
 .learn-more {
     background-color: #f7f7f7
 }
 
 .learn-more h3{
     font-family:'Shift',sans-serif;
     font-size: 18px;
     font-weight: bold;

#2

You can't put HTML code in your CSS file. The CSS interpreter doesn't understand that.

This is HTML code:

<div>
</div>

#3

A post was split to a new topic: Css exercise 8