-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (34 loc) · 1.57 KB
/
index.html
File metadata and controls
35 lines (34 loc) · 1.57 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
<!DOCTYPE html>
<html>
<head>
<title>Fibonacci-on-web</title>
<script defer src="script.js"></script>
<link rel="stylesheet" href="style.css">
<link rel="manifest" href="manifest.json">
<link rel="shortcut icon" href="logo.png" type="image/x-icon">
</head>
<body>
<div id="Input">
<h1>Input</h1>
<div class="text">
<label for="fnum">Write the first number:</label>
<input type="txt" id="fnum">
<label for="TextInput">Write the number of fibonacci numbers:</label>
<input type="text" id="TextInput" name="Write the number of fibonacci numbers:">
<button onclick="generate()">Submit</button>
</div>
</div>
<!--<label for="TextInput">Write the number of fibonacci numbers:</label>
<input type="text" id="TextInput" name="Write the number of fibonacci numbers:">
<button onclick="generate()">Submit</button>
<button id="gen" onclick="generate()">Click to generate the Fibonacci sequence</button>-->
<div id="Output">
<h1>Output</h1>
<span class="text" id='fibo'>The Output will be here...</span>
</div>
<div id="about">
<h1>About Fibonacci sequence</h1>
<span class="text" id="text">In mathematics, the Fibonacci numbers, commonly denoted Fn, form a sequence, the Fibonacci sequence, in which each number is the sum of the two preceding ones. The sequence commonly starts from 0 and 1, although some authors start the sequence from 1 and 1 or sometimes (as did Fibonacci) from 1 and 2.</span>
</div>
</body>
</html>