Python Sucks
@TheDNAHero
I enjoy coding, just not in python. Look for me on the replit discord if you wanna do something.
0
Icon not working
I am trying to make icon.png the icon of index.html, however it doesn't work. Any explanations and methods to fix it?BD103 @TheDNAHero Hello! Right now only public/index.html is available to the internet. To fix this, move `favicon.ico` and `cascatelli.jpeg` to the assets folder. Update `index.js` with the following:
```js
...
// Add the router
app.use('/', router);
app.use(express.static('assets')); // Serve static files from the assets folder
app.listen(process.env.port || 3000);
```
Then, replace your icon link tag with:
```html
<link rel="icon" href="/cascatelli.jpeg" type="image/jpeg">
<link rel="shortcut icon" href="/favicon.ico">
```1 year ago
7
4
0
0
How to download a file using js
I am trying to download shrek.cpp using javascript, and I can't. Also, please ignore the stupid names of the file and repl, we all wanted to do this at some point.9
1
0
I have been trying to edit a div in css, yet It does not seem to want to connect to the stylesheet. I have determined it is css's problem because even
HTML, CSS, JS
I am making a little game, as a joke, and I want to put it on github. The only problem? I don't know how to push it to github. Please help Repl. Also
C++
SixBeeps Same as any GitHub project through the CLI. First set up a repo on GitHub. Then, run these commands in order:
git init
git add *
git commit -a -m 'Commit message'
git remote add origin [email protected]:username/repo.git
`1 year ago
When I enter a prompt, there is always a > before the prompt. How do I remove this? I am trying to mirror another project in a different language, and
Node.js
li1201 It is probably because you are using the `prompt() function which is a browser-designed function. Since you are using Node.JS, it would have to improvise and prompt with the >. Instead, you could use a Node module like readline`. Link2 years ago
TheDNAHero The repl that I am trying to mirror is this: https://replit.com/@DobbsStudent0/Address-book#main.py2 years ago
This is just a simple thing that I made to get all the Fibonacci numbers you could want, if anyone else has some simple math problems for my to do lik
Node.js
AmoghTheCool leave it running for 30 mins and see what number it shows
btw @TheDNAHero you got an updoot
> Answer: Infinity2 years ago
I made a clicker game that sucks. You click the button for money that you can buy upgrades with. A few things that I want to implement is a speedrun t
HTML, CSS, JS
I get really bored so I wanna try and make something. I really want some ideas to do something just cause I also wanna get good at coding
VulcanWM Depends on how good you are and what type of programming you do
Do you do backend or frontend and how good are you at programming?2 years ago
So, A few weeks ago, I sent something out into the lovely world of replit with a js timer. Nobody saw it, and I made a better one. Feel free to copy a
Node.js
It isn't much, and I am a beginner, but I think some even more beginner js coder may find this useful. This is a wait timer. When I started learning j
Node.js
TheDNAHero Better version that I made when browsing w3schools and a tad bit of showerbrain: https://replit.com/@TheDNAHero/Better-timer-version It is much more reliable, and much more down to the millisecond. I am pretty proud of it2 years ago
I hate Ixl so I remade it with a slightly better, inefficient manner and if you type in the funny number in the beginning i will know
Node.js
DynamicSquid Nice! Just some tips though, don't use capital letters at the start of your variable names, and I think if statements would be better than switch statements2 years ago
1
Free IXLJust practice on your math. I spent some time on it. Props to the Prompt thing command
84
1
1