Sass: Nest CSS with Sass

Sass: Nest CSS with Sass
0

#1
// i also need someone to look at my code to know why i am not passing the challenge:
the url is:
https://learn.freecodecamp.org/front-end-libraries/sass/nest-css-with-sass


<style type='text/sass'>
  .blog-post {background-color:red;
      
    h1 {text-align: center;       
        color: blue;
    p {
    font-size: 20px;
        }
     }
     }
  
</style>

<div class="blog-post">
  <h1>Blog Title</h1>
  <p>This is a paragraph</p>
</div>

#2

You need to nest your styles properly. For ex.

.blog-post {
  h2 {

 }
.text-primary{

 }
}

Take a close look at your curly braces.