Putting CSS to Work: Getting Started with External CSS Flashcards

1
Q

What do you think are the most common errors when designing websites?

A

If you guessed typos, you’re right! Once we’ve learned enough, often we’ll be able to code properly or figure out how to do so, but even when we get something programmed correctly in theory, a small typo such as the one we just witnessed can throw off everything and make our code not work the way we expect or not work at all. Pay attention, and always double-check to make sure you have inadvertently created any typos in your code when something isn’t working correctly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Do you see any particular advantages to using an external stylesheet vs an inline or internal stylesheet?

A

There are many advantages to using External CSS. One reason is that if we ever want to change the value of a CSS property we just have to do it in one spot and it would affect all places in a webpage where that property is used. Of course you can get that with an internal set of styles as well. But an external stylesheet has the advantage that it can be referred to by many different webpages, so if you want to make a stylistic change across an entire website, for example, you just have to make the change in one spot in your external CSS file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly