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

Tell us what’s happening:

<link href="styles.css" rel="stylesheet"></link>

it says I should have one link element

Your code so far

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

<!-- User Editable Region -->

  <head>
    <link href="styles.css" rel="stylesheet"></link>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <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 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36

Challenge Information:

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

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

Hi There, looks like your link is in the wrong position try moving it after the meta element

1 Like

it didnt work

Welcome to the forum :wave:

Double check your syntax: https://www.w3schools.com/tags/att_link_rel.asp

the link doesn’t work

What happens when you click it?

You can also perform your own search for “html link rel stylesheet”

I’m on a school computer

I see, well here is the example from that website:

Example

Import an external stylesheet:
<link rel="stylesheet" href="filename.css"> 
1 Like

Aha, very insightful hint message.

Be careful to read all of these full in the future.