0

Why does it fill back my old code every time I change between html,css,js?!

I made an incorrect code, as it turned out. Afterwards I modified it to some other better - but still incorrect code. Then I ran it (to error), so went back to edit, just to find my 1st code in the texts. But it brings back my previous codes just by changing from css to js and back. Incredibly infuriating.

4th Sep 2022, 12:31 PM
Zsolt Ringhofer
Zsolt Ringhofer - avatar
5 Answers
+ 1
click the three dots on the top right corner. click save.
4th Sep 2022, 1:04 PM
Bob_Li
Bob_Li - avatar
0
All I have is: "dark theme", "slim ui", "font size", "detect code" and "details" there... I am speaking of the text editors of "code repo".
4th Sep 2022, 4:45 PM
Zsolt Ringhofer
Zsolt Ringhofer - avatar
0
Sololearn's code editor. If you didn't make any changes, the Save and Save as options should be greyed out, but still visible. It should be clickable if you made changes in your code. Those options are all avaiable in the code repo and lesson examples, too.
4th Sep 2022, 6:09 PM
Bob_Li
Bob_Li - avatar
0
It seems the problem is solely present in the "Game development with JS" module. There, you really don't have "Save". But in other modules, you do. (I started eith that, hence the reason I thought the whole program lacks a sensible saving system.)
5th Sep 2022, 6:59 AM
Zsolt Ringhofer
Zsolt Ringhofer - avatar
0
Zsolt Ringhofer you're right. Strange decision....đŸ€” But there is a popup for saving when you try to exit the code repo. Maybe copy paste the code in a separate web code project and use that as a backup?
5th Sep 2022, 7:44 AM
Bob_Li
Bob_Li - avatar