This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Make a Website: Bootstrap Forum

View Course » View Exercise

1076 points
Eb270696b58dc974418d352b6909cf84?s=140&d=retro
Submitted by
tommy gebru
almost 3 years ago

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!!!


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.

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
almost 3 years ago

2 Comments

Eb270696b58dc974418d352b6909cf84?s=140&d=retro tommy gebru almost 3 years ago

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

55df2afa95e3787b9200005e_359368177 Judy almost 3 years ago

You're welcome!