Skip to content
Sign UpLog In
Profile icon

Python Sucks

@TheDNAHero
I enjoy coding, just not in python. Look for me on the replit discord if you wanna do something.
  • TypeyType

    Cover page
    Made with C++
    Recent comments (0)
Repls
Community
TheDNAHero
TheDNAHero
published an Update
1 year ago
0
Cascatelli
Cascatelli
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
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
TheDNAHero
TheDNAHero
@BD103 Thanks! in the new repl talk format, how to I give you the 5 cycles?1 year ago
BD103
BD103
@TheDNAHero I don't think that's possible, but thank you for trying! :D1 year ago
TheDNAHero
TheDNAHero
published an Update
1 year ago
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.
TheDNAHero
TheDNAHero
shared a Post
1 year ago
It doesn't let me download it
Discord.bot
Python
TheDNAHero
TheDNAHero
shared a Post
1 year ago
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
Another day, another game... Maybe...
HTML, CSS, JS
ch1ck3n
ch1ck3n
Well the body has no width nor height so 100% is just 0px this is the correct CSS: #game{ width:100%; height:100%; position: relative; background-color: red; } body{ width: 100vw; height: 100vh; margin:0px; } `1 year ago
MrVoo
MrVoo
Which repl? You linked an empty one .-.1 year ago
TheDNAHero
TheDNAHero
shared a Post
1 year ago
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
TypeyType
C++
SixBeeps
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
TheDNAHero
TheDNAHero
shared a Post
2 years 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
I am cooler than teddy and python is sbad
Node.js
li1201
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
TheDNAHero
The repl that I am trying to mirror is this: https://replit.com/@DobbsStudent0/Address-book#main.py2 years ago
TheDNAHero
TheDNAHero
shared a Post
2 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
Euler CS
Node.js
JacobMcPherson1
JacobMcPherson1
compute pi next2 years ago
AmoghTheCool
AmoghTheCool
leave it running for 30 mins and see what number it shows btw @TheDNAHero you got an updoot > Answer: Infinity2 years ago
OlauPla
OlauPla
Nice and simple project!2 years ago
TheDNAHero
TheDNAHero
shared a Post
2 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
clicker crap
HTML, CSS, JS
LordPython404
LordPython404
image Wow. I'm sooo rich!2 years ago
ShizukoV
ShizukoV
Also I managed to get the maximum upgrade (price = 400000 Get = 2500 on click).2 years ago
ShizukoV
ShizukoV
maybe add: outline: none; to the button.2 years ago
TheDNAHero
TheDNAHero
shared a Post
2 years ago
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
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
QuantumCodes
QuantumCodes
Messaging with login2 years ago
TheDNAHero
TheDNAHero
shared a Post
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
Better timer version
Node.js
ch1ck3n
ch1ck3n
finally a sleep method in js2 years ago
TheDNAHero
TheDNAHero
shared a Post
2 years ago
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
Js Waiting thing that I made
Node.js
TheDNAHero
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
TheDNAHero
TheDNAHero
shared a Post
2 years ago
#javascript
#IXL
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
Free IXL
Node.js
DynamicSquid
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
TheDNAHero
TheDNAHero
published a Repl
2 years ago
1
Free IXL
Free IXLJust practice on your math. I spent some time on it. Props to the Prompt thing command
AidanEllis2
AidanEllis2
This is weird Gabe 2 years ago