Use a CSS Linear Gradient to Create a Striped Element: commenting out previous values fails test

Use a CSS Linear Gradient to Create a Striped Element: commenting out previous values fails test
0

#1

Tell us what’s happening:
I’m not stuck, I just noticed that if I comment out the previous values instead of deleting them then the tests fail even though it looks right, why is that?

Your code so far


<style>

  div{ 
    border-radius: 20px;
    width: 70%;
    height: 400px;
    margin:  50 auto;
    background: repeating-linear-gradient(
      /*90*/45deg,
      yellow 0px,
      /*blue*/yellow 40px,
      /*green*/black 40px,
      /*red*/black 80px
    );
  }

</style>

<div></div>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/use-a-css-linear-gradient-to-create-a-striped-element


#2

i also did it in a same way , i think its happened because of comment , may be it go through the comments also to check whether your answer is correct or not.