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

Tell us what’s happening:

I have

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

but am receiving ‘your html element should have a closing tag’ error not sure why it keeps saying this

Your code so far


<!-- 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/125.0.0.0 Safari/537.36

Challenge Information:

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

Its saying this because you do not have a closing html tag. A closing tag looks like

</elementname>

the element name needs to be the name of the element you are closing

Hi there and welcome to our community!

Most HTML elements require both an opening and a closing tag. So you’ll need to add a closing html tag to your html element.