CSS Styling: Jumbotron: Fonts 6/10. Unable to progress


Hi there,

I've been trying to move ahead on this one but an error "Oops, try again. Inside the head element add the link element for the custom font" keeps popping up. Could any one tell me where I am going wrong?

Under index.html:

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

Under main.css:

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

Thank you in advance for your help :slightly_smiling:


Assuming all the other HTML is in place, the link element looks to be correct. Try to refresh the page and submit again.


I refreshed it and it still didn't work. Does it have something to do with my browser?


I can't say with any confidence what the issue may be. Check the troubleshooting thread (in the this category) that @albionsrefuge has been overseeing. It may detail the issue and solution.


I copy pasted the link href from the instructions and it seemed to work. Maybe there was a typo somewhere in there.

Thanks for your help anyway :slightly_smiling:


could it be that there is no hyphen "-" between font and family in main.css ?


Sometimes we have to point out the obvious. I often don't in the hopes it will eventually jump out at the learner.