This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Animate Your Name Forum

View Course » View Exercise

225 points
53e3b4de80ff33f2a100231f_201119450
Submitted by
Elizabeth
almost 3 years ago

My code won't save when I edit the codebit

When I try to edit the main html code it refuses to save... only when i remove all of the tags will it save the changes but then of course the javascript won't run...

help?


0 votes

permalink

I've never seen that happen before, normally codebits automatically saves as you type.

In your Animate your name codebit you have a bunch of </> that should be </script>, is that an example of something you are trying to change but it won't stick?.

3691 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
almost 3 years ago

7 Comments

53e3b4de80ff33f2a100231f_201119450 Elizabeth almost 3 years ago

Yes. I left them blank so that the rest of the code will save. Every time I edit the blank </> to the code won't save... and it didn't automatically save to my profile like the "all about me" did.

55df2afa95e3787b9200005e_359368177 Judy almost 3 years ago

So you created one from scratch?

53e3b4de80ff33f2a100231f_201119450 Elizabeth almost 3 years ago

I'll rephrase: when I finished the Animate your Name lesson something did automatically save but it didn't save all of the code. When I attempted to edit the code it would not let me save the new code with the tags. I figured it was a problem with the codebit or something so I deleted that codebit and created the one on my profile now from scratch. I took the html and js code that I worked on from the lesson and pasted into the new codebit but the same thing... even as I typed when I reached the tag or just leave it unfinished like i have now [] it saves..

55df2afa95e3787b9200005e_359368177 Judy almost 3 years ago

Try to fork one from my profile and see if you can edit it.

55df2afa95e3787b9200005e_359368177 Judy almost 3 years ago

Try going back to the last exercise and try submitting again. Maybe delete the one your created first.

53e3b4de80ff33f2a100231f_201119450 Elizabeth almost 3 years ago

Okay I had tried going back to the exercise and re-submitting and that hadn't worked the first couple of times but it did allow me to fork the one from your page and edit and save so i'm not sure what was going on.... hahaha!

55df2afa95e3787b9200005e_359368177 Judy almost 3 years ago

That was a really weird thing Elizabeth, I've never seen that happen before. If you try again to create a new one from scratch does it work properly now?