mirror of
https://github.com/Alvin-Zilverstand/ict-algemeen-opdrachten.git
synced 2026-03-06 11:06:59 +01:00
Add comments and styling enhancements to Fibonacci generator application
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Fibonacci Generator</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<link rel="stylesheet" href="styles.css"> <!-- Link to the CSS file for styling -->
|
||||
</head>
|
||||
<body>
|
||||
<h1>Fibonacci Generator</h1>
|
||||
<label for="fibonacciInput">Enter a number:</label>
|
||||
<input type="number" id="fibonacciInput" min="1">
|
||||
<button id="generateButton">Generate</button>
|
||||
<p id="fibonacciResult"></p>
|
||||
<script src="fibonacci.js"></script>
|
||||
<h1>Fibonacci Generator</h1> <!-- Page title -->
|
||||
<label for="fibonacciInput">Enter a number:</label> <!-- Label for the input field -->
|
||||
<input type="number" id="fibonacciInput" min="1"> <!-- Input field for entering the number -->
|
||||
<button id="generateButton">Generate</button> <!-- Button to generate the Fibonacci sequence -->
|
||||
<p id="fibonacciResult"></p> <!-- Paragraph to display the result -->
|
||||
<script src="fibonacci.js"></script> <!-- Link to the JavaScript file -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user