Xenity
@Xenity
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 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 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
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 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
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
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
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
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 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 Maybe put the semicolon after 'Montserrat', because that might make it misinterpreted. (and can you attach the repl)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 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
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
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
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 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 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