Tell us what’s happening:
I’ve tried to complete this exercise, but no matter what I do, it doesn’t mark any step as correct when I run the tests. I have followed the steps thoroughly, so I don’t know what to do now.
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Class and ID Selectors</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="odd"><p>Number 1 - I'm a class!</p></div>
<div id="two">Number 2 - I'm one ID.</div>
<div class="three"><p>Number 3 - I'm a class, but cooler!</p></div>
<div class= "four" id="heavy">Number 4 - I'm another ID.</div>
<div class="odd"><p>Number 5 - I'm a class!</p></div>
</body>
</html>
/* file: styles.css */
.odd, .three {
background-color:yellow;
}
#two {
color: blue;
font-size: 36px;
}
.three {
font-size: 24px;
}
.four {
font-size: 24px;
}
#heavy {
font-weight: bold;
background-color: red;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Challenge Information:
Learn CSS Foundations Projects - CSS Foundations Exercise B