I am just wondering if there is a reason to include the body tag at the top of the CSS for this challenge like the model example has done.
The body tag is never used in the HTML
Is this a mistake, or is it there for a reason?
Here is link to example: https://codepen.io/freeCodeCamp/pen/NdrKKL
Codepen will add some boilerplate HTML for you. The page does have a body element.
Huh, strange, I can’t find that body element anywhere…
You won’t see it in the code editor.
But if you inspect the page using the dev tools you will see the page has a body element. It is inserted by Codepen, so are the html
and head
elements.
1 Like
system
Closed
September 17, 2021, 5:49am
6
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.