Tell us what’s happening:
need help checking my code. the test keeps on failing.
This is the code
.blog-post {
color: red;
h1 {
color: blue;
}
p {
color: red;
}
}
And this is the test
Tests
Waiting:1. Your code should re-organize the CSS rules so the h1 and p are nested in the .blog-post parent element.
I don’t know my code is not the correct one when i’ve verified it with several platforms. I want to know what is exactly wrong with my code and is the test rejecting the code. what do i need to correct
Your code so far
.blog-post {
color: red;
h1 {
color: blue;
}
p {
color: red;
}
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Challenge Information:
SASS - Nest CSS with Sass