Transform: skewx lesson bugged?

" The element with id bottom should be skewed by 24 degrees along its X-axis."

I can’t figure out what is wrong here. It has to be bugged right? I even looked at the answer through the get help button and its exactly the same.

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

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

  }
</style>

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

remember that capitalization is important

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.