Type game using javascript

I created this game using javascript. This is not for mobile phones. Reviews for improvement would be highly appreciated. This is the link

An awesome work by the way… Can you show your code?

thank you! here is my source code : link

Can you please tell me why you used math.floor() in your code?
let task = Math.floor(Math.random() * data.length)
I am just a beginner in js…

you see, math.random() function generates random numbers between 0 and 1 , which obviously is decimal. Math.floor() helps to reduce the number to an integer.

yeah, I got it and so easily… thanks for helping brother

You’re welcome. I am glad I could help. :slight_smile:

can I add with you? or give you messages…

yes you can! (:::::slight_smile: