Whenever I press 'run tests' it keeps on saying time out and doesn't go to the next challenge, What could be the solution for that?

Tell us what’s happening:

Your code so far


<style type='text/scss'>
 .blog-post {
     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>

Your browser information:

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

Challenge: Nest CSS with Sass

Link to the challenge:

An error in your code is causing the tests to run infinitely. That shouldn’t happen. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.

I suspect that the problem is that you have your p selector nested in your h1 selector. Since you wouldn’t have a p tag nested in an h1 tag, my guess is that this is your error.

I can’t reproduce the timeout, the test just fails for me.

@ArielLeslie does it timeout for you?

I can’t reproduce it on Firefox 78.0.1

1 Like

I had no luck reproducing on FireFox 78.0 or Chromium 83.0 myself.

There have historically been infinite testing bugs that only come about if you type things in a particular order, but I don’t think that the tests run automatically anymore, do they?

The test is just a regex.

We have had regular expressions with catastrophic backtracking before, but I don’t see it here (I don’t think).