On Codepen, there is a drop down menu in the top right corner of each coding section: html, css, and javascript. In that drop down is a “Fold All” button that is meant to condense all of your code for ease of organization.
However, I have found the function to only work intermittently for the html side, and never for the css panel. Anyone know what’s happening with that?
I have searched and searched, but it is extraordinarily difficult to search for anything about codepen’s functions, as every page that anyone has ever been made on codepen that mentions the search keywords pops up first on the search stack.
I’m not having any issues with it (on Chrome 87). Is it possible that you have mismatched braces or tags in your code? That would prevent it from working correctly.
To add on to what @ArielLeslie has said, the only time I’ve had it not fold in HTML is when I didn’t have autosave enabled. After saving it then folds.
I’ve not had any folding issues with CSS or JS (as long as everything is matched correctly).