it says that the page cant be found and i don’t know why, so I’m thinking it has to do with something in my code or something with replit its self.
1 Like
Hello and welcome to Ask @DavidMcCleary!
Try renaming main.html
to index.html
, as that is the file replit serves by default for HTML/CSS/JS repls.
3 Likes
Yes i forked it and changed and it worked. Great advice.
thanks, that worked. idk why that caused it to not work though but thanks.
Checking your repl, it seemed like main
was the intended “main” file, and for HTML/CSS/JS
repls, the “main” file is called index.html
and not main.html
.
i did not think about that i will check my repls that are html thankyou.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.