Aapka Apna blog jo kre apki problem Solve

Thursday, 4 July 2019

Generate Random Number With Javascript || Mini Javascript Project


Generate Random Number With Javascript




Generate Random Number

Javascript Mini Project

 Code HERE


<!DOCTYPE html>

<html>

<head>

<title>Genertae Random number</title>

</head>

<body>


 <h1> Generate Random Number With Javascript</h1>


  <input type="text" name="" id="input">


<script type="text/javascript">

var generate = Math.random() * 50;

var dink = Math.floor(generate)


document.getElementById('input').value = dink + "%";


</script>

</body>

</html>



                          Music App With Javascript


 
Share:

0 Comments:

Post a Comment

loading...