SpeedSolving Puzzles Community

Cubing Forever
Cubing Forever
umm.. a big problem:
github pages is showing a 404 even after showing the "your site is published at...." message
D
Deleted member 36445
hey. so you're making a timer, huh?
github pages take a while to update. normally it can take a couple of minutes before cleaning the cache.
so I suggest you test it thoroghly on your machine then upload it to production
I'm looking forward to it. What you're using to learn?
D
Deleted member 36445
I noticed you didn't include the javascript and that you're grabbing the element with id but the display element has no id, just class
Cubing Forever
Cubing Forever
Oh that's a bruh moment. I'll fix the JS tomorrow. Also I use VSCode.
D
Deleted member 36445
lol that was pretty random
but VSCode is awesome!
D
Deleted member 36445
you said that because I asked what you're using to learn right?...
but I meant resources :D
Scollier
Scollier
VS Code is confusing

Replit is better :)
D
Deleted member 36445
wow I didn't know replit. gonna try out
Cubing Forever
Cubing Forever
Cubing Forever
Cubing Forever
D
Deleted member 36445
change this line

document.getElementByClassName("display").innerHTML = secs+"."+millisecs

to

document.querySelector(".display").innerHTML = secs+"."+millisecs
D
Deleted member 36445
I think you have some bug fixes to do on your timer, I let it run for some time and it's indicating "0.226" seconds
something wrong with the milisecs maybe?
Cubing Forever
Cubing Forever
oh yeah instead of incrementing every second, the variable millisecs is incrementing every second lol
Cubing Forever
Cubing Forever
*millisecond
Cubing Forever
Cubing Forever
uhh I guess this will be another shelved project but I did learn some CSS and a lot of stuff about git and github
Cubing Forever
Cubing Forever
I won't give up on this just yet tho.
D
Deleted member 36445
ganbatte kudasai 💪
Back
Top