why doesn’t work?
Close your code with this }); rather than } and select jQuery from the JS option menu.
For this bit of JS code you really don’t need jQuery or the document ready declaration.
Then how to make ? That when everything okey I mean ready then giving the height to the block?
Sorry, just meant your code snippet would work within CodePen without jQuery or document ready. If you’re going to be using other jQuery code on your page then uses that.
You must be logged in to reply to this topic.