Skip to content
Sign UpLog In
Profile icon

KENNETH TRIPP

@KENNETHTRIPP
  • Tic-Tac-Toe

    Cover page
    Made with Python
    Recent comments (0)
  • Clicker Game

    Cover page
    Made with HTML, CSS, JS
    Recent comments (3)
    Solarbot9
    Solarbot9
    2 years ago

    i have a question for you

Repls
Community
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
req.body doesn't seem to be working.
I don't think I am able to access req.body. I've tried everything I can think of, but I'm really new to express, so there's probably something I misse
HackermonDev
HackermonDev
It looks like you are using `app.get. Request bodies only work on app.post and PUT` requests.2 years ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
There seems to be something wrong with the `move_u()` function, but I can't figure out what. Can someone help me. Here's the error: Traceback (most re
heyitsmarcus
heyitsmarcus
You're going to want to slap me or yourself whenever you see this, but all you're missing is a return cube at the very bottom of your move_u function so that it can return what you've modified back to the calling script haha I added that, and it ran great! :) It's one of those "can't see the forest through the trees" things where you need another pair of eyes to look at something. Cheers!2 years ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
I previously (a long time ago) made a Rock Paper Scissors game in Python. It was really bad, so I decided to remake it in C#. I just learned C# a coup
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
Is it just me or did repl.it change their URL? It is now `replit.com. Previously, I think it was repl.it`. Am I imagining things or did this actually
19wintersp
19wintersp
Replit is migrating from "repl.it" to "replit.com". No official comment has been made about this at this point to my understanding, however this seems to be the new domain going forwards.2 years ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
So, The title is pretty self explanatory. It finds random open Kahoot game codes and prints them to the console. I didn't really do much of the code.
MalakaiMoya
MalakaiMoya
This Works some of the time Thank you.11 months ago
monkeysupremacy
monkeysupremacy
i put in a nickname and it disconnects me1 year ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
So, I had a great project idea. I was playing Kahoot and saw a bunch of people in my class trying to get onto random games, and I thought "I bet I cou
CarterKau
CarterKau
this won’t work 1 year ago
KENNETHTRIPP
KENNETHTRIPP
Thanks to all of y'all. From what I can see they are all correct.2 years ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
image It looks like My form data isn't sending. I think I'm sending it correctly: image My test.php file: image If anyone knows how to fix this, plea
19wintersp
19wintersp
$_GET is an array (I think) which contains your GET parameters. You are using it correctly, except you are putting it inside of a string: When you put $GET inside of a string literal (between the quotes), it is no longer a variable, but the literal word "$GET". You need to instead put the variables outside of the string, and then concatenate the variables and the strings together with the concatenation (.) operator: `2 years ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
So, I've read that Repl.it is planning to add PHP to the HTML, CSS, JS repls. I want to know if they have done that yet. If so how do I use it? And se
SixBeeps
SixBeeps
I haven't heard about them adding in PHP to HTML Repls, but there are dedicated PHP Repls that you can add HTML files to and serve them through the server.2 years ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
So I'm trying to make a website that helps students like me remember to do their assignments. I'm trying to store each person's to-do list in a JSON f
xxpertHacker
xxpertHacker
If I may ask, where is the JSON file that you're storing into, and how are you storing it into that file?2 years ago
Coder100
Coder100
Anyways, an example code would be something like this: localStorage.setItem("assignments", "1,2,3"); do note you can only store strings, but you could use JSON.parse to parse. but why not use something like google keep instead of reinventing the wheel?2 years ago
Coder100
Coder100
no, any cookie will do. the _ga cookie stands for google analytics. It is used to, well, track you and see whatcha doin2 years ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
Ok, now that @Coder100 helped me connect a Node.js server to HTML, CSS, and JS I need to connect Node.js to an SQLite database. I hope he knows how to
Highwayman
Highwayman
Also, I created a new post just for this just in case someone in the future needs help with just this and already knows how to use Node with HTML, CSS, and JS. a million upvotes for YOU sir2 years ago
Coder100
Coder100
Yeah sure, I did play around with it a bit, and decided noSQL was cooler, but that's my opinion lol so the most popular lib is unsurprisingly called sqlite3 https://www.npmjs.com/package/sqlite3 its docs are really good and the example in the front page is basically like all I ever used it for xd if it doesn't compile then report to bugs https://repl.it/bugs it's really frustrating when a lot of these awesome C++ libraries aren't even available2 years ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
Hi again! I was told that the easiest way to connect a database to an HTML, CSS, and JS repl was to use Node.js. Although I'm sure that works, I can't
Coder100
Coder100
easy https://repl.it/@Coder100/BraveBetterFlash-aeount-euhuoe-a#public/index.html how dare I not be pinged for this until your project gets larger, put all your frontend files (html css js) inside public.2 years ago
k9chelsea2
k9chelsea2
in a node repl make sure you have express installed and to link the server to a html file is simple just create a path to your html file in the node file and it should hopefully work.2 years ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
Hey! I'm trying to test out using SQL in HTML, CSS, and JavaScript. From what I know so far (not much) I can't use PHP or SQL with those. Also, I don'
19wintersp
19wintersp
SQL is generally used server-side with a language like Node or PHP. I'd advise you to learn a backend language first.2 years ago
darkdarcool
darkdarcool
It is probably good that you are learning web dev, but what helped me learn it was w3schools. I recommend that you use them. (go to the sidebar and see what they have to offer) Good luck on your web dev journey2 years ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
This is a simple clicker game. This took me about a week and a half and is my first HTML, CSS, and JavaScript project. Please note that this game is n
Clicker Game
HTML, CSS, JS
Coder100
Coder100
hai2 years ago
Username543210
Username543210
It's nice but... Screenshot 2021-01-10 at 23.22.212 years ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
Hi, I am currently working on a project that requires the JavaScript confirm method. I think I'm doing it right, but the confirm box doesn't show up.
Coder100
Coder100
Ok, so the thing is the page hasn't even fully loaded before you even try to access the button. Two things you can do e make sure the page has loaded. window.onload = () => { const button = document.getElementById("button"); const p = document.getElementsByTagName("p"); function buttonClick() { let confirm = confirm("Click One") if (confirm === true) { p.innerHTML = "OK was clicked"; } else { p.innerHTML = "Cancel was clicked"; } } button.addEventListener("click", buttonClick); };2 years ago
JBloves27
JBloves27
So here is what you should do: that is HTML this is js object.onclick = function(){myScript};//this object.addEventListener("click", myScript);//or this I hope this helps!2 years ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
Have you ever seen those Jumble puzzles in the newspaper? Well if you have you have probably wanted to make a computer solve them. Well, now you can!
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
Hey guys, I saw a password cracker by CyanCoding a few weeks ago, and I thought I could improve on it so here it is. P.S. I don't really know if a re
sobakarooted
sobakarooted
bro this just prints down whatever u type u did it wrong2 years ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
Hey guys! I just wanted to share this with y'all because I think it's pretty good. If you have any suggestions or know how I could make it one player
Tic-Tac-Toe
Python
KENNETHTRIPP
KENNETHTRIPP
@CrashBatBat Thanks!:D2 years ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
Hey guys! This is my take on Rock Paper Scissors. I am trying to figure out how to not make the computer's choice random, so comment if you have any
Rock Paper Scissors
Python
KENNETHTRIPP
KENNETHTRIPP
Jus maybe...2 years ago
KENNETHTRIPP
KENNETHTRIPP
Maybe2 years ago
KENNETHTRIPP
KENNETHTRIPP
Maybe if I comment on this a bunch it will be seen.2 years ago
KENNETHTRIPP
KENNETHTRIPP
shared a Post
2 years ago
Hey guys! I built a Rock Paper Scissors project. But I wan't y'alls help to make it more realistic (I don't want the computer's choice to be random).
Rock Paper Scissors
Python