About broken code

helloo i think i need some advice/help,im currently studying javascript but when i move to next step why my previous code is always broken and become a mess ?,especially when i move from step 6 to step 7

can you use the reset button? it looks like this image and it’s on the right of the Check Your Code button

then you should see the correct starting code for step 7, not broken code

if you need more help please use the Help button instead

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge.

The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.