I don´t know how to run the code that I´m writing, it shows the previous one

Question:
how do I run my current code?

Replit Profile: https://replit.com/@anzapatago

:wave: Welcome @anzapatago!

Have you renamed the file? Replit is configured to run a specific main file by default.

1 Like

the main file is still there, but I´m in another one (the code I want to run), main file is empy

Well, it is recommended to only use the main file when writing code, as that is how Replit is configured by default and it can be quite a hassle to change, depending on the template you used.

If you would like to change this default behavior, we would need more information. The best way is to send the link to your Repl. Here is a guide that explains how to share that:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.