Skip to content
← Back to Community
Click speed test in HTML and Javascript
Profile icon
NoelB33

Because I was trying to test some more saving data in JavaScript, I decided to make a small click speed test. Just click the button in the middle. My best is 12, which saves across closing the website/refreshing.

Voters
Profile icon
xSpookx
Profile icon
LilaJohnson
Profile icon
Kopamed
Profile icon
BobTheTomatoPie
Profile icon
AgastyaSandhuja
Profile icon
NoelB33
Comments
hotnewtop
Profile icon
[deleted]

my best is 6

Profile icon
didnotsub

I got 7 @Zuhdi28

Profile icon
[deleted]
Profile icon
AmazingMech2418

@Zuhdi28 I got 10,000!

#JavaScriptDOMClickEvent

#ForLoopsForTheWin!

Profile icon
[deleted]
Profile icon
AmazingMech2418

@Zuhdi28

for(let i=0; i<10000; i++)document.getElementsByTagName('img')[0].click()
Profile icon
AmazingMech2418

@Zuhdi28 I can only get to 12 without hacking/botting it...

Profile icon
[deleted]
Profile icon
AmazingMech2418

@Zuhdi28 Two fingers.

Profile icon
[deleted]

@AmazingMech2418 do you mean you use right click and left click?

Profile icon
AmazingMech2418

@Zuhdi28 No. I have my other hand on the mouse as well so that I can click with two fingers.

Profile icon
AmazingMech2418

@Zuhdi28 Just got 14!
image

Profile icon
[deleted]

@AmazingMech2418 ooooo i am dumb

Profile icon
[deleted]
Profile icon
NoelB33

Geez 14? How? @AmazingMech2418

Profile icon
AmazingMech2418

@NoelBryan 2 fingers...

Profile icon
NoelB33

Ok I’ll try that @AmazingMech2418

Profile icon
[deleted]

@NoelBryan he got 14 cuz he used his 2 hands

Profile icon
didnotsub

How :0

Profile icon
Axrevyn

@didnotsub @NoelBryan
Are you Noel's alt account?

Profile icon
Axrevyn

This will automatically shoot to the top of hot if it gets an upvote as soon as it's posted...or maybe that's what you want.

Profile icon
NoelB33

No, i don’t know him @Axrevyn

Profile icon
didnotsub

@Axrevyn Im not his alt, but ill un upvote the post if you really want me to
Maybe the rules say something on how your not allowed to upvote posts within a certain amount of time, ill look again. Im new, but im nobodys alt

Profile icon
didnotsub

@NoelBryan Also im trying to learn some javascript, do you have any recommendations?

Profile icon
NoelB33

I learned it at w3schools @didnotsub

Profile icon
didnotsub
Profile icon
Martysh12

Best: 14

Profile icon
NoelB33

Geez, how? @Martysh12

Profile icon
Martysh12

@NoelBryan 2 fingers, of course :)

Profile icon
NoelB33
Profile icon
[deleted]

my best is 7

:)

:D

XD

>:)

Profile icon
[deleted]

hey @NoelBryan !
how to make an online values in js?
or when refresh or closing the web the value will be saved?
plz answer me!

Profile icon
NoelB33

You can use localStorage, and I was asleep sorry. For a demonstration look at this repl https://repl.it/@NoelBryan/Save-data-through-localStorage @Zuhdi28

Profile icon
[deleted]

WOW THANK YOU SO MUCH !!!! @NoelBryan

Profile icon
NoelB33

My comments are not so good, I hope you understand it @Zuhdi28

Profile icon
[deleted]

@NoelBryan i understand it... don't worry!

Profile icon
NoelB33

Ok, that’s good because I’m bad at writing comments @Zuhdi28

Profile icon
[deleted]

@NoelBryan lol like me :(

Profile icon
NoelB33

#MessyCodeSquad @Zuhdi28

Profile icon
[deleted]

@NoelBryan XDXDXDXDXDXXDXDXD

Profile icon
NoelB33

You should see mine and my friends code for a game called pyLife, it’s so un efficient that we took 900 lines that could be shortened down to 200 @Zuhdi28

Profile icon
[deleted]

@NoelBryan So you should use classes and functions...

Profile icon
NoelB33

I know, but I can’t rewrite it now lol @Zuhdi28

Profile icon
[deleted]

@NoelBryan lol ok...

Profile icon
[deleted]

@NoelBryan Hey...
can i invite you to help me?
JOIN

Profile icon
NoelB33

Ok, DM me on discord GDmaster33 just dm me from the repl.it server if you can @Zuhdi28

Profile icon
[deleted]

@NoelBryan ok but i deleted discord... :(

Profile icon
NoelB33

Wait, i can talk to you inside the repl @Zuhdi28

Profile icon
BobTheTomatoPie

This is really cool, great job! My best is 10

Profile icon
NoelB33
Profile icon
AmazingMech2418

image

image

You should know what I did by now... By the way, this runs at about 60 FPS (using requestAnimationFrame).

Profile icon
NoelB33

Lol I can’t stop you cheating using the JavaScript console @AmazingMech2418

Profile icon
NoelB33

Luckily it’s not a concern that it runs at 60 FPS, because nobody unless their cheating will get past it @AmazingMech2418

Profile icon
AmazingMech2418

@NoelBryan LOL! Actually, though, I got 12.

Profile icon
NoelB33

I also can only get 12 @AmazingMech2418