SASS - Store Data with Sass Variables

Tell us what’s happening:
Describe your issue in detail here.
how do i pass the first and second stages

  **Your code so far**
<style type='text/scss'>
.h2{color: red;}

  text-align: center;
.blog-post, h2 {
  color: red;

<h1 class="header">Learn Sass</h1>
<div class="blog-post">
<h2>Some random title</h2>
<p>This is a paragraph with some random text in it</p>
<div class="blog-post">
<h2>Header #2</h2>
<p>Here is some more random text.</p>
<div class="blog-post">
<h2>Here is another header</h2>
<p>Even more random text within a paragraph</p>
  **Your browser information:**

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

Challenge: SASS - Store Data with Sass Variables

Link to the challenge:


As always, to pass a challenge, you must follow the instructions provided.

In case you missed them:

Create a variable $text-color and set it to red . Then change the value of the color property for the .blog-post and h2 to the $text-color variable.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.