Colored Markers - Step 7 - One self closing link

Tell us what’s happening:
Why does it say I need one self closing link?

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">
    <a rel="stylesheet" href="styles.css">
    <title>Colored Markers</title>
  </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/108.0.0.0 Safari/537.36

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

Link to the challenge:

This is an anchor element instead of a link element

so anchor attaches url to text and link attaches url to website/application?

Not reallf. An anchor element provides a hyperlink to some other url the user can visit. A link element provides an additional file of code.

1 Like

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