Learn CSS Colors by Building a Set of Colored Markers - Step 1

Tell us what’s happening:

Describe your issue in detail here.
I know my answer is correct but why on this problem do i have to put at the end when the 2 sections before this I only needed to put an opening and nothing els ? I just want to know why this section is different from the previous 2.

Your code so far


<!-- User Editable Region -->

<!DOCTYPE html>
<html lang="en"></html>

<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36

Challenge Information:

Learn CSS Colors by Building a Set of Colored Markers - Step 1

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

my question is why does this one need a closing html but the previous 2 chapters do not.

Welcome to FFC forum. html tags always need closing tag. In the previous chapter you might didn’t noticed.
@dpasuer1

1 Like

Thank you I think what had me confused is that the closing tag is always at the very bottom of the code 20+ rows down and not directly beside the opening, and since this is a new sheet of code it threw me off.

1 Like

When it comes to code a project, you will code first html boilerplate. Means html, head and body tags. Then you add other required elements within that.
@dpasuer1

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.