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!
In what kind of context would it be better to use content-box model rather than a border-box model? If the border-box model makes calculating the layout easier, is there a reason why you wouldn’t always use only that one? Are there disadvantages to the border-box model?
Do you have to declare the new box model at the beginning of your code or can you place in any location? In addition using the * can you set other universal defaults within CSS?
Can you please explain how you advance to the next screen in this particular Box Model Exercise. The first Instructions are to experiment changing the Height, Width, Padding, etc. and then the Next button never turns yellow to go to the next screen. How on earth do I advance please?
I have no idea what I’m doing wrong with this one. I cant’ see any difference between what I have done and the solution. I just copy and pasted the code from the instructions and it doesn’t work. Is there a glitch in this one?
Secondly, I am still very new to this myself, but if I understand this correctly, if we used the body class selector, we would only change the box properties for that one elements box. If we use the universal selector *, we then target all the elements boxes on our page. ie the p element. Happy to be corrected here but that is how I understood it.
I’m getting a bug on this one too, doesn’t work when typed in (checked, checked and checked again). Using the view solution button worked, but matched my code exactly. Running Chrome 83.0.4103.116 64-Bit.
@mtf
I have this same question. Would need your assistance in understanding this. Why is there is content-box and border-box at all? What are the advantages or disadvantages of using both?
Do I need to put box-sizing: border-box for universal CSS rule anytime I start a new project? Or in what situations I need this and what other situations I don’t need this?
That will only hide the native behavior from view. Suggest build the layout using no cudgels or magic bullets and observe the default behavior closely. When the layout is flexible and elastic (adaptable) then select the objects that might benefit from that property and apply it there, only, then observe the effect again.