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

Tell us what’s happening:
Describe your issue in detail here.
I don’t fully understand what im doing wrong. The hint says" Your html element should have an opening tag with a lang attribute of en ." Please help me know what Im doing wrong. I’ve even tried refreshing and it still doesn’t work.

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 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

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

Link to the challenge:

I think you are missing a closing > on your opening html tag.

Remember, a tag always starts with < and ends with >.

1 Like

I tried that but now its saying
Your html element should have an opening tag with a lang attribute of en

You’ll need to post your updated HTML in here so we can see what you did.

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key. You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </> button above the editor to add the triple back ticks.

lang="en"

sorry i got confused this is my code right now.

You need to follow the instructions that I posted above for displaying your code in here. Please paste all of your HTML in here using the triple back tick technique.

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

Attributes go on the opening tag.

Thank you so much!!! :heart:

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