vendredi 27 décembre 2019

Single random number for input field javascript

I have created a love calculator i have published it on internet the logic which i have created is i have used math.random()*100; which produce a random love percentage also there is two input fields name and love where anyone can input there data the problem is that when a person click on calculate it produce a percentage but when he or she click again on this button it display another percentage for the same inputs i want it to generate single input for single input how it possible in simple javascript because i am beginner thanks in advance




Aucun commentaire:

Enregistrer un commentaire