2025-01-27 20:37:24 +01:00
|
|
|
/* Style for the body element */
|
2025-01-27 20:36:34 +01:00
|
|
|
body {
|
|
|
|
|
font-family: Arial, sans-serif;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
margin: 0;
|
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-27 20:37:24 +01:00
|
|
|
/* Style for the h1 element */
|
2025-01-27 20:36:34 +01:00
|
|
|
h1 {
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-27 20:37:24 +01:00
|
|
|
/* Style for the label, input, and button elements */
|
2025-01-27 20:36:34 +01:00
|
|
|
label, input, button {
|
|
|
|
|
margin: 10px 0;
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-27 20:37:24 +01:00
|
|
|
/* Style for the input and button elements */
|
2025-01-27 20:36:34 +01:00
|
|
|
input, button {
|
|
|
|
|
padding: 10px;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-27 20:37:24 +01:00
|
|
|
/* Style for the button element */
|
2025-01-27 20:36:34 +01:00
|
|
|
button {
|
|
|
|
|
background-color: #007BFF;
|
|
|
|
|
color: white;
|
|
|
|
|
border: none;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-27 20:37:24 +01:00
|
|
|
/* Style for the button element when hovered */
|
2025-01-27 20:36:34 +01:00
|
|
|
button:hover {
|
|
|
|
|
background-color: #0056b3;
|
|
|
|
|
}
|
|
|
|
|
|
2025-01-27 20:37:24 +01:00
|
|
|
/* Style for the paragraph displaying the result */
|
2025-01-27 20:36:34 +01:00
|
|
|
#fibonacciResult {
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
color: #555;
|
|
|
|
|
}
|