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

I believe I typed the link attribute correctly but could someone guide me to see if this is correct? I have looked online and some people have suggested closing the link with a slash.

Thank you!

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">

<!-- User Editable Region -->

  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Colored Markers</title>
    <link href="styles.css" rel="stylesheet">
  </head>

<!-- User Editable Region -->

  <body>
    <h1>CSS Color Markers</h1>
  </body>
</html>
/* file: styles.css */

Your browser information:

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

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

Link to the challenge:

in HTML5, the self-closing slash is optional for void elements. So, you can also write it without the slash.

Try to place it in another line.

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