It’s the title.
replit.com/@snakeyking is a “sub-website” of
@SnakeyKing You can do app routes e.g.
Flask app routes. Using Python. If you need help dm me.
No not Flask I meant HTML, CSS, JS
Afaik you can’t, but then Flask uses HTML (and Python) to run, so…
I have done a few
Flask websites before.
So Replit IS NOT WRITTEN IN HTML AND JS!?!?
Is it written in:
- Another alternation of JS
It’s possible, I never said it wasn’t.
Since Flask uses HTML for the website, why not?
I never said it was impossible either
@SnakeyKing So what do you want to do?
P.s. WHAT ABOUT TECHCELL OS!?!?
I wanna make a game called
war.io and there is a bunch of “sub-websites” in it:
It’s not a real one. I’m not about to start business.
Use Flask, like I said earlier. Super easy to use.
Soo… what are trying to say? Flask is not good?
Easy. Just create a file (e.g. otherpage.html) and use an
<a> tag to redirect users to that page. For example:
<a href="./otherpage.html">Go to other page</a>
This will make a link leading to your-repl.username.repl.co/otherpage.html
If you want to remove the .html you have to use a backend server like PHP or Express.js.
It’s not a “sub-website,” it’s just another route. Anyway, this is possible in an HTML, CSS, JS Repl by creating a folder at the route you want, so like create a folder
leaderboard. then you can create an
index.html file inside of it. So you can go to
war.io/leaderboard to see the site
Or you could use Flask app routes
OP clearly doesn’t want that, although if he wants a leaderboard then he should have a backend. Why’d you gasp at my post, anyway?
(I never realised you could do that in HTML)