Ask coding questions

← Back to all posts
in .replit file what i should i add (my project is html + css)
h
FaisalSaud2 (0)

in .replit file what i should i add (my project is html + css)
please till me

Answered by RoBlockHead (521) [earned 5 cycles]
View Answer
Comments
hotnewtop
RoBlockHead (521)

.replit file is only really used for server repls, not HTML repls.

FaisalSaud2 (0)

ok how to run my repl, i know that i don't have to run it but i have a custom domain but i can't see the output, i have to run the repl

(my english is bad)
@RoBlockHead

RoBlockHead (521)

@FaisalSaud2 that screen usually means that either your domain hasn’t linked right (sometimes takes several tries to link, it’s properly linked when the screen says “your repl is being served at X.com”). Otherwise, that page is the default 404 page.

MikeJMS8910 (231)

for html you add a .html to the end and for css you add a .css at the end and for javascript you add a .js at the end