https://replit.com/@AL999/SBio here is the link. The screen just shows up blank when I run it. Thanks for the help!
Looking at your code it seems you probably forgot to host the html file, since you’ve hosted nothing, it has nothing to show itself.
Edit: I looked at it again and I didn’t observe document
at first glance. You seem to have mixed up cocept of backend with frontend. If you want to create a server using backend you can use node.js
but since document
is not a function of backend it should be put in a seperate file, which is then linked to frontend html file.
You need to first learn to host server if you need to use nodejs
or just switch to html, css, js
tempelate as suggested by MattDESTROYER if you dont want to learn backend yet.
I think you meant to make a HTML, CSS, and JavaScript Repl. You would also need your HTML file to be named index.html
.
I am officially dumb, jumping off a cliff
We all make dumb mistakes sometimes (some more than others, * cough * me).
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.