CSS Transform Property skewX .Help

CSS Transform Property skewX .Help
0

#1

Whats wrong in this code

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

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

sorry I did not know about formatting

heres a 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

Can you add a link to the exercise and format your code?

You can hit preformatted text icon in the editor.


#3

Made the changes. Let me know what you think


#4

Looks like there should be no space between transform property and colon.


#5

Thank you so much. It works now