HTML is the markup that contains all the actual stuff that a web page has. All the text on this page you’re reading right now lives inside HTML tags that tell your browser how to order the content on the page. Go on, right click any element on the page and choose “Inspect Element” to open up your browser’s Developer Tools and it will show you the structure of the page.
CSS tells the browser if you want to display any of those tags a particular way, for instance, turning its background blue and pushing it a little to the left. In your Developer Tools, you can see the CSS styles in another panel, usually showing which specific properties were inherited from which lines of CSS.
Look through these now and then use them to test yourself after doing the assignment:
Dive right into learning HTML and CSS with freeCodeCamp’s interactive tutorials. Do the entire section labeled “Responsive Web Design Certification” only. It’s long and, if you’re new, might take you at least a few days to get through, but it will give you a really solid foundation to build on moving forward. They also have some projects at the end of this section. They’re good practice, but you can consider them optional. (A large part of their proposed ‘300 hours’ for completion comes from these projects, so it probably won’t take you that long if you only do the exercises).
Note: If you are using a browser add-on such as Dark Reader (or a similar add-on that creates a “dark mode” for a website), it may interfere with certain exercises. If your solution isn’t accepted, try disabling the browser add-on and submitting it again.
Optional: Learn about your browser’s default stylesheet and CSS resets in this video (resets are mentioned starting at the 2:00 mark). This is why there are some spaces that show up in your layout even if you haven’t specified CSS. Real developers almost always use a CSS reset to blow away the default stylesheet and let them work from scratch. If you’re still curious, here’s a longer video on resets.
This section contains helpful links to other content. It isn’t required, so consider it supplemental for if you need to dive deeper into something.