Skip to content
← Back to Community
How to make a custom 404 page on repl.it
Profile icon
Whacko

How do you make a custom 404 page on repl.it? The language is HTML.

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Profile icon
Michael-Master13
Profile icon
RyanTang11
Profile icon
smokerontop4376982397582791
Profile icon
NoX3
Profile icon
Whacko
Comments
hotnewtop
Profile icon
Coder100

fixed it!

https://repl.it/@Coder100/GoldenrodPrestigiousTruetype#index.js

enjoy!

Profile icon
Whacko

THANK YOU @Coder100 THANK YOU @Coder100 THANK YOU @Coder100!!!

Profile icon
Coder100
Profile icon
Whacko

@Coder100 I've been wondering how to do this since I learned HTML!

Profile icon
Coder100

xDDDD me too :) @JavaMaster1

Profile icon
RixTheTyrunt

@Coder100 Node.js?

Profile icon
Coder100

only the best language @SnackyPlusPlus

Profile icon
RixTheTyrunt

@Coder100 The BEST?!

Profile icon
Tyo3433

@Coder100 omg TYSM

Profile icon
Coder100
Profile icon
Coder100

It won't be possible unless you make a backend, let me send some example code real quick

Profile icon
LlamaBoii

@Coder100 if i have back-end in my code how to i make it work? is there any way to use a different js file or something??

Profile icon
StudioHawaii

yay

Profile icon
StudioHawaii

nice

Profile icon
teamdiamante

si pongo el index.html como .js si entro al link sin poner /index.js no funciona

Profile icon
Coder100
Profile icon
Coder100

here ya go

navigate to the public folder and start coding your HTML!
navigate to the 404 folder and start customizing your not found pages!

Profile icon
Whacko

@Coder100 Thanks, but that's not what I wanted.
image

Profile icon
Coder100
Profile icon
Whacko

@Coder100 I already know how to make it say CANNOT GET /file.