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

xUse the CSS Transform Property skewX to Skew an Element Along the X-Axis
0

#1

Tell us what’s happening:

// running test
The element with id bottom should be skewed by 24 degrees along its X-axis.
// tests completed

Your code so far


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

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 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


#2

this part is not correct
Remove the p { and } characters from around the transform