|
1 |
| -<!DOCTYPE html> |
2 |
| -<html lang="en"> |
3 |
| - <head> |
4 |
| - <meta charset="UTF-8" /> |
5 |
| - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 |
| - <title>RWID Git - Fibonacci</title> |
7 |
| - <link |
8 |
| - rel="shortcut icon" |
9 |
| - href="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" |
10 |
| - type="image/x-icon" |
11 |
| - /> |
12 |
| - <link rel="stylesheet" href="../css/index.css" /> |
13 |
| - </head> |
14 |
| - |
15 |
| - <body> |
16 |
| - <main class="main-container"> |
17 |
| - <h1>Fibonacci (Functional)</h1> |
18 |
| - |
19 |
| - <form id="form"> |
20 |
| - <div class="input-number-container"> |
21 |
| - <label for="sequence">Input the length of the array</label> |
22 |
| - <input |
23 |
| - type="number" |
24 |
| - name="sequence" |
25 |
| - id="sequence" |
26 |
| - min="1" |
27 |
| - step="1" |
28 |
| - required="required" |
29 |
| - /> |
30 |
| - </div> |
31 |
| - |
32 |
| - <label>Choose the method</label> |
33 |
| - <div class="method-container"> |
34 |
| - <label for="method-loop" class="method-item"> |
35 |
| - <input |
36 |
| - type="radio" |
37 |
| - name="method" |
38 |
| - id="method-loop" |
39 |
| - value="loop" |
40 |
| - required="required" |
41 |
| - /> |
42 |
| - <span>Loop</span></label |
43 |
| - > |
44 |
| - <label for="method-recursive" class="method-item"> |
45 |
| - <input |
46 |
| - type="radio" |
47 |
| - name="method" |
48 |
| - id="method-recursive" |
49 |
| - value="recursive" |
50 |
| - required="required" |
51 |
| - /> |
52 |
| - <span>Recursive</span></label |
53 |
| - > |
54 |
| - </div> |
55 |
| - |
56 |
| - <button type="submit">Generate Fibonacci</button> |
57 |
| - </form> |
58 |
| - |
59 |
| - <p><strong>Result:</strong></p> |
60 |
| - <div class="result-container-fibonacci" id="result"></div> |
61 |
| - |
62 |
| - <p><a href="/">Back to Homepage</a></p> |
63 |
| - </main> |
64 |
| - |
65 |
| - <script type="module" src="./js/fibonacci.js"></script> |
66 |
| - </body> |
67 |
| -</html> |
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8" /> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 6 | + <title>RWID Git - Fibonacci</title> |
| 7 | + <link |
| 8 | + rel="shortcut icon" |
| 9 | + href="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" |
| 10 | + type="image/x-icon" |
| 11 | + /> |
| 12 | + <link rel="stylesheet" href="../css/index.css" /> |
| 13 | + </head> |
| 14 | + |
| 15 | + <body> |
| 16 | + <main class="main-container"> |
| 17 | + <h1>Fibonacci (Functional)</h1> |
| 18 | + |
| 19 | + <form id="form"> |
| 20 | + <div class="input-number-container"> |
| 21 | + <label for="sequence">Input the length of the array</label> |
| 22 | + <input |
| 23 | + type="number" |
| 24 | + name="sequence" |
| 25 | + id="sequence" |
| 26 | + min="1" |
| 27 | + step="1" |
| 28 | + required="required" |
| 29 | + /> |
| 30 | + </div> |
| 31 | + |
| 32 | + <label>Choose the method</label> |
| 33 | + <div class="method-container"> |
| 34 | + <label for="method-loop" class="method-item"> |
| 35 | + <input |
| 36 | + type="radio" |
| 37 | + name="method" |
| 38 | + id="method-loop" |
| 39 | + value="loop" |
| 40 | + required="required" |
| 41 | + /> |
| 42 | + <span>Loop</span></label |
| 43 | + > |
| 44 | + <label for="method-recursive" class="method-item"> |
| 45 | + <input |
| 46 | + type="radio" |
| 47 | + name="method" |
| 48 | + id="method-recursive" |
| 49 | + value="recursive" |
| 50 | + required="required" |
| 51 | + /> |
| 52 | + <span>Recursive</span></label |
| 53 | + > |
| 54 | + </div> |
| 55 | + |
| 56 | + <button type="submit">Generate Fibonacci</button> |
| 57 | + </form> |
| 58 | + |
| 59 | + <p><strong>Result:</strong></p> |
| 60 | + <div class="result-container-fibonacci" id="result"></div> |
| 61 | + |
| 62 | + <p><a href="/">Back to Homepage</a></p> |
| 63 | + </main> |
| 64 | + |
| 65 | + <script type="module" src="./adapter/fibonacci.js"></script> |
| 66 | + </body> |
| 67 | +</html> |
0 commit comments