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

As you’ve seen in the previous projects, webpages should start with a DOCTYPE html declaration, followed by an html element.

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.

So not sure sure why it isn’t taking this? Any ideas?

Your code so far

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

Your browser information:

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

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

Link to the challenge:

1 Like

Welcome to the forum
Your <html> element is incomplete.

I don’t think that’s the problem. I posted just short time ago about what I think is another bug in the course.

I saw your post. It makes sense, but here lang attribute is not the problem.

I guess it wanted a "< / h t m l > " too, which makes sense, my mistake, just thrown off writing it out all on one line, my bad, we can delete this.

Can someone please explain why in this challenge the is different?
the lesson/cheat sheet says to do it this way

and that is the way we did it in the previous challenge. Is this a CSS thing?

Could you specify, what’s different exactly?

Hello , so your code should look like this:

Mod edit: removed solution
Hope this helped


si me sirvio, muchas gracias :slight_smile:

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