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? 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