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

Tell us what’s happening:

I am following the curriculum “Learn CSS Colors by building a set of colored markers”. https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-colors-by-building-a-set-of-colored-markers/step-1

STEP 1 - Instructions are 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.

I have entered the below code -

Why isn’t this above code working?

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/127.0.0.0 Safari/537.36

Challenge Information:

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

I found solution - I only had to add the html closing tag - </html>
This thread can be closed.

Thanks,
Aniesh

2 Likes