Hi -
I’m working on my first HTML/CSS project from scratch - I can’t get the CSS to connect with the html. This is the code I have typed so far, but the header is not showing up crimson, which is the style I’ve assigned it. I can’t figure out what I’m doing wrong. I thought I followed all of the steps.
Here’s the code for the HTML
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<title>Megan's Coding Cheat-Sheet</title>
<body>
<h1 class="header">Coding Notes</h1>
Here’s the code for the CSS:
.header {
color: Crimson;
}
Shouldn’t the header show up as crimson? Did I forget something in the link? I also tried ‘a href=’ instead of just ‘href=’ but that didn’t work either. Very new at this and trying to learn as much as possible. Thanks so much in advance for any help anyone’s willing or able to give.
Thanks,
Megan