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

Tell us what’s happening:

Your code so far


<style>
  div { 
    width: 70%;
    height: 100px;
    margin:  50px auto;
    
  }
  #top {
    background-color: red;
  }
  #bottom {
    background-color: blue;
    transform: skew(-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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36.

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

you are missing a single character. Compare your line to the example given in the challenge…

1 Like

btw, I don’t think they want you to move it -24 but rather 24