max trushkov
@maxina
Scala or C#? Message me with your choice.
So in my website, I have a folder with an html file and a js file. For some reason, when I run it, and go to the website, it take my html code and put
So in my last post, I asked a question about this topic, and coder100 was quite helpful, so I'm just going to ping you.
SO my question is, let's say
Coder100 sure
you can do something like params
app.get("/user/:username", (req, res) => {
res.end("Your username was: " + req.params.username);
});
glad I could help
by the way
I recommend at this stage using something like ejs2 years ago
SixBeeps The answer depends on your backend framework. I'd take a look at your framework's URL routing methods to see if any of those match what you're looking for.
Strangely enough, from what I've seen, Django handled this kind of use case the best.2 years ago
So I'm working on a website with node.js and socketIO. However, I don't know how to make links for each html file.
Lets say for example I have a websi
Coder100 That's exactly right. test.com/signup.html. Make sure you also serve the file in your js, like this:
app.get("/signup.html", (req, res) => {
res.sendFile(__dirname + "/signup.html");
});
assuming your file structure looks like this:
index.js
signup.html
`2 years ago
dolphin30 Well, first of all just use HTML, CSS, JS. and then use tags. why do you need node.js and socketIO2 years ago
So I have been (trying) to work on some projects lately, some pretty big projects that include networking, but it always ends up not working and I los
2
agario_clonea 1 player agario clone I made a while ago with pygame.
56
12
2
So I'm working on a program and I basically wanna make a webpage and host it on replit.com with just download links of different releases of my app. H
KeaganLandfried To do it from Repl-
Upload the file to the repl.it repository. Then, put the link as a direct link to that file (e.g. https://www.mysite.com/download.png).
To host it somewhere else-
Upload the file to an external file storage (e.g. mediafire) then copy the link and paste it into your code.2 years ago
SixBeeps You can upload the releases of your app to the Repl itself, or host the files elsewhere. Then, you'd make an HTML Repl (or add a backend if you wish) with a bunch of links to those files.2 years ago
https://www.repl.com/
is used by a website... and repl.it is moving to that domain?
repldark
Note that this is for all sites, not just repl.it!
So first of all you have to make sure you are using the chrome browser. Next, go on this
So I've bene working on a text editor but the problem is I'm disorganized and if anybody can help me take my code and put it into like multiple files
This question is for @BobTheTomatoPie.
So I saw your game called the Pitlife, and I showed it to my friends, and everyone seemed to really like it. S
BobTheTomatoPie this really made me happy to read, I never thought that people would show it to their friends, much less that their friends would like it, you can remake it of course! I have no requirements that I think you need to do, and feel free to post it as long as you don't use my code and make it originally, if you do post it @ me so I can check it out! Hope this answered your questions. have fun on the project!2 years ago
What do you think a good code editor should have? Put it down in the comments.
xxpertHacker A good code editor needs a good code formatter, anything outdated or incorrect is unacceptable.
Highlighting multiple lines at once, indenting affects every line at once.
Performance: multiply Repl's editor's performance by * 5, and you'll have a good measure of how performant something should be.
People write lots of code, it should be able to handle at least a 4k line file without noticeable degradation in performacne.
Key-bindings, this is a common luxury.
Intellisense (to complete with 2 years ago
SixBeeps Auto-indentation (and an option for tabs/spaces)
Code intelligence
The ability to see multiple files at once
Maybe code snippets2 years ago
So editors/ides like vs code, vim, sublime etc. What are the best languages/guis/technologies for making an advanced text editor?
CHRISTIANMATTHY I've made a Vim-like text editor (cough https://replit.com/@CHRISTIANMATTHY/pybless ), and it is a pain, but I used python and Curses. It is nice to use, I am just usually dumb tho2 years ago
RYANTADIPARTHI i think html, js, and css are the best language to make one. As a helper, here's a link on how to make a good one.
https://www.thatsoftwaredude.com/content/8912/create-a-basic-text-editor-in-javascript2 years ago
https://www.fisham.site/?clickid=4e7a4e694e474d784e445a694e6a5178596a46684d5756694e6a646c4d546732596a686d4e5751784e7a566b4f54686d4e7a51775a5463774d444
TheRealSnowSJ Me doing exactly what ppl don't want me to do (click on the link) :>
But i got 502 bad gateway even in private tab on ff mobile2 years ago
tussiez Don't post the link, people are going to click it anyway :)
Repl can't really do much about moderating the Internet..2 years ago
Title. All game engines I can find are for c++.
maxina basically from what I know, c++ like you said has more modern features, but I can still just not use those features...2 years ago
maxina I was just wondering, since unreal engine uses c++, and the only difference between c++ and c is classes, can I still use unreal but just not use classes, therefore I am technically using c?2 years ago
hello! This is my first post on repl.it, so I thought I would share this really simple password saver program I wrote with python. it originally had a
Python