-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRandomfacts.html
More file actions
37 lines (36 loc) · 1.32 KB
/
Randomfacts.html
File metadata and controls
37 lines (36 loc) · 1.32 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
34
35
36
37
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Random Facts Generator</title>
<link href="random.css" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<style>
#fact{
display: none;
}
</style>
</head>
<body class="bg-dark">
<div class="container">
<div class="row">
<div class="col-md-6 mx-auto">
<div class="card bg-primary text-white mt-5 p-4">
<h1> Number Card</h1>
<p> Enter a number and get a random fact</p>
<input type="number" class="form-control form-control-lg" id="numberInput" placeholder="Enter any number...">
<div id="fact" class="card-body">
<h4 class="card-title">
Number Fact
</h4>
<p id="factText" class="card-text"></p>
</div>
</div>
</div>
</div>
</div>
<script src="random.js">
</script>
</body>
</html>