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

Tell us what’s happening:
Describe your issue in detail here.
Cannot get past step 1 of Learn CSS
I’ve worked out how to get to the second lesson - but this seems to be a bug since there’s nothing wrong with my code.

Your code so far

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

**Your browser information:**

User Agent is: <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36</code>

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

**Link to the challenge:**

This is what the console gives me... I'm puzzled
// running tests
Your html element should have a closing tag.
// tests completed

Welcome to the community :smiley:

If you try a step three times a button will appear with a question mark.
Clicking it will create a post with a link to the step your on, all of your code and can be edited to include your question and any other information you think relevant before sending.

You seem to have forgotten to add the closing tag of the HTML element.

Some tags such as <img/> do not have any content, but do have instructions/attributes, these tend to be self closing tags.
Tags that include content or other tags have an opening tag <div> and a closing tag </div>
If you exclude the closing tag the browser gets confused

Thank you, finally got it!

1 Like

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