Is there an easy way to tidy FCC code?

Is there an easy way to tidy FCC code?
0

#1

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).


#2

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:


#3

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


#4

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…


#5

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