Here we will trying to create a reflex trainer, so we can be good as Hiko in that play:
Okay, that's a little too much ๐
.
We will just try to click fast as possible in the green button on the screen.
It consists in three files, the index.html which is the main, the btnStyle.css with
the css style and the btnFunctions.js to control the js functions.
- HTML ๐ฅ๏ธ
- CSS ๐
- JavaScript โ๏ธ
- Day 1 โ๏ธ
First day working, my first impression is: that sounded simpler im my head. But i did the skeleton of the project built a green button that goes to a random place on the screen, one button to start and one to return the button. Also i created a simple score that cout the times you clicked the green button. Looking forward for where it can go. - Day 2 โ๏ธ
Second day on the project, not going so well. I can't find a way to make to button keeps constantly moving on the screen. So today I just changed some functions and tried new things. - Day 3 โ๏ธ
BEST DAY (so far), had a mind block for a few days I wasn't feeling very conffident about the project or what I'm able to do. After talking with my friend and discussing some ideas, he cheered me up to search for other ways to work, so here it is. Now the button with a interval in the page it goes to random places on the screen after you click on the start button (it won't stop, but we will see that later), and now we have difficult option, so it's basically done. Just need to finish the style. - Day 4 โ๏ธ
Done, everything is working (i think). The style is simple but, I will probably change some things in the future. If you have any idea feel free to contact me. - Day 5 โ๏ธ
Changed some of the style, now it looks more fancy and bright. Still trying to figure out how to solve the time bug from the green button. - Day 6/7 โ๏ธ
A lot of changes, added a CS:GO background to make it a little harder to find the green button. Changed how the score will be shown, becaus now we have a timer after 20s the score will show up on the top of the screen. The next step is to add a animation to the score and to the timer.