Skip to content
Sign UpLog In
Profile icon

Xenity

@Xenity
Repls
Community
Xenity
Xenity
shared a Post
2 years ago
How can we remove .html from our pages?
So me and @A1PHA1, want to remove .html from our pages. We are using a node server but can't figure out how to do it, we have tried things but they ha
Hyderite
Hyderite
although @BrysonVan1 's answer is also correct, there is a simpler way to remove .html. You simply have to change this index.html about.html products.html terms.html to this index.html about/index.html products/index.html terms/index.html. source: https://stackoverflow.com/questions/5730092/how-to-remove-html-from-url image1 year ago
BrysonVan1
BrysonVan1
To remove the .html from your pages, move your html files out of the public folder and into another folder (I like using one called views but its up to you). Then, create routes to each one of your pages using app.get("/route", (req, res) => {res.sendFile(__dirname + "/views/pagetoshow.html")})2 years ago
Xenity
Xenity
shared a Post
2 years ago
So, me and @A1PHA1 are working on a chatting app and we need to display 2 different bubbles for our chat because right now all messages are the same.
Coder100
Coder100
sure remember how whenever you send a message you also send a bit of info about who sent the message? You could do that to compare if the user sent the message or not, and css accordingly. 2 years ago
Xenity
Xenity
shared a Post
2 years ago
Here is my code Screenshot 2021-05-12 10.01.59 AM BUT when i run my code, i get Screenshot 2021-05-12 10.02.22 AM so it is working, but its not in
Xenity
Xenity
shared a Post
2 years ago
So, yeah i was working on a website and i added a custom scrollbar, but it looked bad so i removed the code from my css but its still showing, idk why
TheH4ck3r
TheH4ck3r
cloudfare is slow :/2 years ago
ch1ck3n
ch1ck3n
can you add the repl2 years ago
ErsatzEin
ErsatzEin
Please link your site.2 years ago
Xenity
Xenity
shared a Post
2 years ago
So i'm working on a website.. and font awesome is not working for some really weird reason. Screenshot 2021-04-22 2.48.50 PM Screenshot 2021-04-22 2.4
Coder100
Coder100
did you import the css first? did you try some css links that works? https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/fontawesome.css2 years ago
ch1ck3n
ch1ck3n
I checked out your repl and i believe it works now2 years ago
Xenity
Xenity
shared a Post
2 years ago
So, im working on a website.. and the background suddenly turned purple: Screenshot 2021-04-19 7.31.15 AM and i don't have anything in my style.css t
Coder100
Coder100
Ur css is slightly incorrect. The syntax is this: background: url(images/big.png) repeat 0 0; Also, you don't need the public folder, that is already included!2 years ago
IntellectualGuy
IntellectualGuy
Maybe put the semicolon after 'Montserrat', because that might make it misinterpreted. (and can you attach the repl)2 years ago
Xenity
Xenity
shared a Post
2 years ago
Screenshot 2021-04-16 2.12.23 PM Screenshot 2021-04-16 2.12.37 PM both these images ^ are from the html repl Screenshot 2021-04-16 2.12.54 PM this
RoBlockHead
RoBlockHead
node.JS is supposed to be run from a server, the HTML repl is a static file server, so no code is run before it is sent to the client. If you want to use node.js, you need to use a node.js repl.2 years ago
Xenity
Xenity
shared a Post
2 years ago
I am working on a website (https://teamdragonflyy.cf) and i have no clue how i can link my custom 404 page, i already have the file for it in html, an
notGilbert
notGilbert
You'll need a server, either with python or nodejs2 years ago
Xenity
Xenity
shared a Post
2 years ago
I managed to connect my domain to my website Screenshot 2021-04-15 12.32.19 PM but when i open it up (https://teamdragonflyy.cf) it says that the web
Xenity
Xenity
shared a Post
2 years ago
Screenshot 2021-04-15 11.03.39 AM i want to add a custom domain, but i can't do it.. is there a solution to this? (fyi. this is a team repl)
Mioun
Mioun
open your Command Prompt then type nslookup CMD Under 'Non-authoritative answer:' You will see an IP Address. Make a new A-Record in the DNS managemant. Leave the name blank and set the target to the IP Address what you see in the Command Prompt. This is what you should have: Save it and link the domain WITHOUT www. Q: how do i get the cname link? A: Replit2 years ago
mordyman
mordyman
Did u do what the repl says? Click the URL right there and click the pen/pencil and follow those instructions. Hope this helps!2 years ago