Why is it doing this! Store Data on SASS variables

Tell us what’s happening:

Your code so far


<style type='text/scss'>
$text-color: red;

.header{
  text-align: center;
}
.blog-post, h2 {
  color: red;
}
</style>

<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>
<div class="blog-post">
<h2>Header #2</h2>
<p>Here is some more random text.</p>
</div>
<div class="blog-post">
<h2>Here is another header</h2>
<p>Even more random text within a paragraph</p>
</div>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:76.0) Gecko/20100101 Firefox/76.0.

Challenge: Store Data with Sass Variables

Link to the challenge:

My console keeps saying “timeout”! Why? I just started this lesson! What’s wrong?

@codeofdreams hey,

you have not added your variable to the text color.

Well, I did earlier but it still wouldn’t load the test and it said “timeout”

Can you show us the code that you did it right?

Never mind, It worked this time! My page was frozen. That was really odd and stressful.

1 Like