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

Tell us what’s happening:
Describe your issue in detail here.
I am required to Add a DOCTYPE html declaration at the top of the document, and an html element after that. Give the html element a lang attribute with en as its value.
After i have entered the code below, this message pops up: Your html element should have a closing tag.
But in the second line , I have already closed my tags with attributes inside. Which line did I do it wrong? Or am I missing sth? Thanks for reading this stupid question


<!-- User Editable Region -->

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

<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36

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

Link to the challenge:

html is not self closing. Meaning you must have a closing tag like the error is telling you. It would look something like </>

1 Like

Thanks a lot!!! Solved for real quick, I will bear it in mind.

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