Is there an easy way to tidy FCC code?

Does anyone of you know if there’s an easy way to tidy up freecodecamp code, just like codepen? Sometimes my code is getting very messy, because of all the things I’m trying. It would be really helpful if there was some way to tidy the indents (javascript).

I don’t think so. But… you can copy your code, go to CodePen, paste it, hit the Tidy button, and copy paste back :stuck_out_tongue:

1 Like

Hahaha, as if I havn’t been doing that before! Thanks anyaway. :+1:

Maybe have a look at this: Beautify

This site also lists a lot of other resources. It might point to a plugin for your editor, depending on what you are using…

1 Like

I had a quick peak and it looks promising. Thank you for the link.