-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (37 loc) · 1.41 KB
/
index.html
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
<!DOCTYPE html>
<html lang='en>
<head>
<meta charset='UTF-8'>
<title>Document</title>
<link rel='stylesheet' href='style.css'>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,900&display=swap" rel="stylesheet">
</head>
<body>
<div class="box">
<div>
<header for='input'>
Fibonacci Sequence
</header>
<img src="./image.png"/>
<p class="description">The Fibonacci sequence is a series of numbers in which each number is the sum of the two that precede it.</p>
<input name='input' value='fibbonacciSequenceLength' class='input' type='number' placeholder='only numbers' max="1000"/>
<div>
<p class='errorMessage hidden'>
Incorrect value. Please enter a number from 1 to 1000
</p>
</div>
<p class="instruction"> Enter the length of the fibonacci sequence you want to display. Max. length 1000.</p>
</div>
<div class="paragraphBox">
<p class="paragraph fibSequence hidden">your fibonacci sequence</p>
<p id="result" class="result"></p>
</div>
</div>
<footer>
<p class="footerParagraph">© 2022 | Coded by Patrycja Leśniak</p>
</footer>
<script defer src='./index.js'></script>
</body>
</html>