This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by tommy gebru
over 9 years

2/14 [resolved] Bug or just misleading content

Below is the entire content of the lesson Bootstrap 2/15

“What just happened? Nicely done! What’s going on here?

The order of the CSS files matter.

  1. The browser first sees shift.css, and makes the Shift font available to use in the page
  2. Next the browser sees bootstrap.css, and applies those styles to the page.
  3. Then the browser sees main.css, and applies those custom styles to the page. The custom styles override the Bootstrap styles.

The order of the CSS files tell the browser that your styles in main.css are more important than the styles in bootstrap.css, so the final page that loads is the customized web page.”

My question is this :

“The order of the CSS files matter.

  1. The browser first sees shift.css, and makes the Shift font available to use in the page”

To what does this refer to ??? because I do not believe I have come across this recently, is it just an example for the lesson? which in this case can be misleading because it led me to believe that I missed a step or lesson as part of the ongong exercises on the Make a Website course!!!

Answer 5447d5a39c4e9dc4120000d8

0 votes

Permalink

Hi Teame,

By the time you get to exercise 2 your <head> ... </head> element should look like this:

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

I’m not exactly clear on what you mean by “this”. I think you might mean you don’t know what the shift.css refers to? But that doesn’t seem right, unless you did somehow miss some exercises.

If you go here http://www.codecademy.com/skills/make-a-website, you can scroll down to see the 5 sections in this course, have they all been checked off? We learned about the Shift font in this exercise http://www.codecademy.com/courses/web-beginner-en-4lw13/0/6

I’ll wait till you clarify your doubts before I go on further.

points
Submitted by Judy
over 9 years

2 comments

tommy gebru over 9 years

nevermind, i got it now, thanks for the support!

Judy over 9 years

You’re welcome!