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

It says my head element needs to be empty but it is, already tried restarting my computer and website, nothing has worked.

Your code so far

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

<!-- User Editable Region -->

<head>
  <body>
  </body>
  </head>
    

<!-- User Editable Region -->

</htm>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.35

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

Link to the challenge:

Your head element is not empty, because you have the body element inside of it. Anything that comes between these tags is considered to be inside (or nested)

<head>


</head>

So your code has the body inside the head element. When the challenge says it needs to come after the head it means that it needs to be after the closing tag </head>

Also the very last tag in your code is wrong. its html not htm

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