-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
33 lines (33 loc) · 1.51 KB
/
index.html
File metadata and controls
33 lines (33 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NMHV3737');</script>
<!-- End Google Tag Manager -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Random Number Generator</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>
<body>
<div class="container">
<h1><i class="fas fa-random"></i> Random Number Generator</h1>
<input type="number" id="min" placeholder="Minimum value" />
<input type="number" id="max" placeholder="Maximum value" />
<input type="number" id="quantity" placeholder="Quantity of numbers" />
<button onclick="generateNumbers()"><i class="fas fa-cogs"></i> Generate</button>
<button onclick="resetFields()"><i class="fas fa-redo"></i> Reset</button>
<div class="result" id="result"></div>
<div class="history" id="history">
<h2>History</h2>
<ul id="historyList"></ul>
</div>
</div>
<script src="script.js"></script>
</body>
</html>