There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.
If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
Agree with a comment or answer? Like () to up-vote the contribution!
I believe this is what you are referring to. Notice the href values refer to two different style sheets: reset.css and style.css. In the exercise, you are working with style.css. Codecademy is linking reset.css to remove default styles from almost every html element. Many developers do this to avoid default behavior from interfering with expected behavior. If you click on the folder icon in the top left of the code editor, you can navigate to styles/reset.css and have a look at what it does. Hope this helps
I believe from reading past posts for CSS that the common practice is to use HTML to add and organize the raw content and leave all the actual styling to the CSS. Bold typically falls under the banner of styling.
That said, I’m sure it wouldn’t hurt if you were to use the bold tags in HTML in some situations.
In the CSS for this section there are two different selectors used with a class name and an element:
a.home {
}
.banner p {
}
I know the first one is selecting all the anchor elements that have the class .home, but what is the second one selecting? All paragraphs that are a descendent of a parent that has class .banner?
Blockquote The <strong> tag is used to define text with strong importance. The content inside is typically displayed in bold
I am absolutely not an expert, That said, In my expert opinion: Bold can be used for style. You have a heading on a page “WELCOME TO MY WEBPAGE” and you want that to pop so you’d style it bold using CSS.
< strong > on the other hand isn’t for style it’s used, semantically (I think semantically), to imply importance “DO NOT USE A FORK TO CHANGE THE LIGHTBULB”
The wonderful nerds over at mozilla have a good write up on the proper usage and difference.
Hi, in this exercise…I noticed that only sans-serif font-family start in lower case and the rest of other font-family start in capital letters. May I know why?
The terms “one font weight lighter” and “one font weight bolder” refer to adjusting the font weight by one predefined step within the font family’s available weights.
Font weights are typically defined in a scale ranging from 100 to 900, with 100 being the lightest (thin) and 900 being the boldest (black). The exact increment between each step can vary depending on the font family and the font weights it offers. For example:
If the parent element’s font weight is 400 (normal), “one font weight lighter” would typically equate to 300 (light).
Similarly, if the parent element’s font weight is 400, “one font weight bolder” would typically equate to 700 (bold).
Generic font has no proper name, so is always lowercase.
Font family names are proper, just as one’s own name would appear: capitalized.
Designers didn’t come up with this. We’re taught it in grammar school.
After which( (grammar school) ‘Huckleberry Finn’ is a cake walk to read.
If you haven’t, then how ever old you are, it is a must, just like ‘Frankenstein’. Leave the ignorance behind with just one of these books. Read them both, and behold, a new kind of elevated ignorance, but something with hope attached, We get to peer through the darkness, and the light. Both give remarkable insight to our inherent intellect and the structure of our value system. Something to think about…