Use the CSS Transform Property skewX to Skew an Element Along the X-Axis i just fixed it

Use the CSS Transform Property skewX to Skew an Element Along the X-Axis i just fixed it
0

#1

Tell us what’s happening:

i fixed it but its not working
Your code so far


<style>
  div { 
    width: 70%;
    height: 100px;
    margin:  50px auto;
  }
  #top {
    background-color: red;
  }
  #bottom {
    background-color: blue;
  }
  #bottom{
    transform:skewX(-24deg);
  }

</style>

<div id="top"></div>
<div id="bottom"></div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/use-the-css-transform-property-skewx-to-skew-an-element-along-the-x-axis


#2

Why did you call #bottom two times, just have once and add those two properties inside it.
Also, it should be 24deg not -24deg