How to Make Your URL's Look Good (.../index.html to .../index)
For this, my example URL is gonna be website.com/branch, so beware.
I am gonna teach you how to make your URL's look good.
Every time you create a new repl, you have a starter folder,
index.html, which you can't delete. In the head, put this code:
<script src="PATH/TO/FILE" type="text/html"></script>
Then type whatever code in. It will not have the automated suggestions or even the colors,
<h1>Hello World</h1> <p>Hello!!!</p>
but it will work.
Upvote if you liked it!
The industry standard way is to just use a server framework like Node or Django but this is interesting, I'll have to mess with it.
Hey! Can you explain how to use it?
<head><script type="text/html"> <h1>Hello, World!</h1> </script> <!-- You don't have to put defer. --> <script defer src="folder/branch"></script></head>
file.html:5 GET https://elm-test.battledash2.repl.co/folder/branch net::ERR_ABORTED 404
Uhh still doesn't do anything..
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>repl.it</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="main.js" type="text/html"></script> </head> <body> <script src="script.js"></script> </body> </html>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> asdfs </body> </html>
Sorry it took some much time to respond, repl is loading lazily. I definitely agree. Also, would you like to join my team where we make coding languages? https://repl.it/teams/join/zzdmvixfrdbulxlpungqqnaeictpczpm-TeamCL press the link ONLY if you want to join. @Battledash2
@Battledash2 Thus, the link looks better than originally. It seems that the direct link on the site looks a little raw and not quite appropriate and not as good as just text with an active link already inside. I like services like https://transformagency.com/ because their promotion is not only about leaving an active link, but they comprehensively approach advertising and each project individually. This requires a professional approach, and apparently, now many services work like this because they realized that customers need quality and not quantity