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

Tell us what’s happening:
Describe your issue in detail here.
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.

my code is

can someone tell me what is wrong cuz it tells me that my html element should have a closing tag

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; rv:109.0) Gecko/20100101 Firefox/115.0

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

Link to the challenge:

The html element requires both an opening and closing tag because you can put content inside of it.

ohh damn yea i forgot that html is not a self-closing tag
thankyou bbsmooth

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