Use a CSS Linear Gradient to Create a Striped Element.. how can I complete this?

Tell us what’s happening:

Your code so far


<style>

  div{ 
    border-radius: 20px;
    width: 70%;
    height: 400px;
    margin:  50 auto;
    background: repeating-linear-gradient(
      45deg

      0px [yellow -- blend -- yellow] 40px [yellow -- blend-- black] 80px );

  }

</style>

<div></div>

Your browser information:

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

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

Good try, but you want something like this as an exmaple.

Use below syntax.

    background: repeating-linear-gradient(
      45deg,
      orange 0px,
      orange 20px,
      pink 20px,
      pink 35px
    );