Im stuck


#1

Hello, Ive written this;

.learn-more h3 {
        font-family: 'Shift', sans-serif;
        font-size to 18px;
        font-weight to bold;
}

Buts its telling "
Oops, try again. Set the font-family of the h3 elements inside <div class="learn-more">..</div> to 'Shift', sans-serif"

But I cant see where Ive made a mistake... any ideas please?


#3

Your problem is here:

        font-size to 18px;
        font-weight to bold;

Your browser has no idea what to make of "to" .


#4

Hello, thanks for the idea, but Ive corrected it to this

.learn-more h3 {
        font-family: 'Shift', sans-serif;
        font-size: 18px;
        font-weight: bold;
}

and its still telling me the same problem,

any ideas?


#5

Yes. Now that your CSS is correct, let's look at other things that affect shift.css.

Do you still have your links to:

  • shift.css
  • main.css

#6

Hello, sorry for the delay.

Im being a dummy, but what do you mean by
Do you still have your links to:

shift.css
main.css?


#7

If you look in your index.html file, do you still have links to those two css files?


#8

<html>
  <head>
    <link href="main.css" rel="stylesheet">
    <link href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/shift.css" rel="stylesheet">
  </head>

#9

Your links look great.

Could your post all of your CSS code please.