Tribute Page - Build a Tribute Page

Tell us what’s happening:

I’m having an annoying issue with this project. As I finished my HTML code, I noticed my CSS wasn’t computing. So I made a little test and, yeah, it’s not working.
“My tittle” should appear written in red, but CSS isn’t working somehow.
Another test I did was adding the tag style and by doing so, it worked.
Then, I decided to move this little test code to VS to test it, and it worked normally.
So I know it’s something to do with CSS on the page itself.
Has anyone had the same problem? :frowning: help meeee

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lan="en">
 <head>
   <link rel="stylesheet" href="style.css">
 </head>
 <body>
  <main id="main">
    <h1 id="title">My title</h1>
  </main>
 </body>
</html>
/* file: styles.css */
h1 {
  color: red;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0

Challenge Information:

Tribute Page - Build a Tribute Page

Hi there and welcome to our community!

Your link element is pointing to style.css but the filename is styles.css.
Unrelated, but you also have a typo in your html element, as the attribute name should be lang not lan.

2 Likes

Thank you so much! <3

1 Like

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