Use the CSS Transform Property skewX to Skew an Element Along the X-Axis NOT WORKING

Use the CSS Transform Property skewX to Skew an Element Along the X-Axis NOT WORKING
0

#1

Tell us what’s happening:

is not workING WHAT IS GOING ON

Your code so far


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


</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

you dont need spaces try

transform: skew(45deg);


#3

appreciated but it is still not working


#4

do i add this (#) to the bottom id


#5

Yes. There’s a little space at the first #bottom where you could include skewX too.