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

How can i add the link attribute?, i tried but its not working

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Colored Markers</title>
  <rel="stylesheet"href="style.css">
</head>
<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/105.0.0.0 Safari/537.36

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

Link to the challenge:

How can i add the link attribute?, i tried but its not working
[/quote]

Html attributes always go inside the opening tag of an element.

thats what i just did, they are all inside the opening tag of the element

If you check the exercise again, you will see it says this:

Nest a link element within the head .

So, you will need an element called “link”.

Then you will put the attributes in its opening tag.

This is the reply im getting now: Your link element should have an href attribute with the value styles.css .

 <link href="style.css" rel="stylesheet">
and this is my code

Im still waiting for the reply

Tiny spelling mistake

You need an s for styles.css

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