The lesson is to skew the bottom element 24deg. When I run the test, the block skews but I get a message saying the bottom element should be skewed. It looks like it works. Why the problem?
no need to add semi colon in the last property.
you need to add
-ms-transform: skewx(24deg); /* IE 9 /
-webkit-transform: skewx(24deg); / Safari /
-moz-transform: skewx(24deg); / firefox*/
It’s all about best practices and code quality.
Yes, the code will work in Codepen or in any other editor and you are here to learn not only coding but also to write good code that’s why FCC is not passing the test.
In some of the challenges, you will not pass the test if you use single ’ ’ quotes instead of double " " quotes.
@spjindal90
a semi-colon is required unless if it’s not the last property and it’s a best practice to add.
some HTML5 elements don’t need you to add an auto close in the end but still it not a best practice.
example:
<img src='./src/untitled.jpg' > this will work fine in HTML but in react it will through an error and so as in strict XHTML. If you don’t learn the best practices at some point you may have to debug someone else written code and you are not aware of these things then you will be in a stressful situation. <img src='./src/untitled.jpg' />
For example, if you are working in ReactJS then, the compiler will yell at you.
Have tried everything in here, still not responding. The thing is that the desired effect is being applied but the exercise never shows as complete when running tests,