Nest CSS with Sass ,,,

Tell us what’s happening:

I can’t pass this challenge, first I nested p inside h1 and now I tried this, but still can’t pass

Your code so far


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

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/sass/nest-css-with-sass

h1 isn’t nested under p. h1 is on the same level as p.

thanxx…it worked…