Description
Two related bugs found in the Fibonacci Series project:
Bug 1 β Dark Mode Text Visibility
In dark mode, the input field is completely invisible β both the default value (10) and any text the user types cannot be seen. The field appears empty even when it contains values.
Steps to reproduce:
- Switch to dark mode
- Click the Fibonacci Series project card
- Notice the input field looks empty β the default value 10 is there but invisible
- Try typing a number like 6 β nothing appears visually
- Click the spinner arrows (up/down) on the input field β the number briefly becomes visible
- But now the value is wrong e.g. 1064 because 10 was silently there from the start, then you typed 64 on top of it
Bug 2 β Input Validation Not Working
The input field accepts invalid values and handles them incorrectly instead of showing an error message.
Steps to reproduce:
- Type -1 β the project silently outputs 0 with no error or explanation
- Type 000 β the project treats it as valid and generates the first 10 Fibonacci numbers as if the input was 10, with no feedback to the user that their input was corrected or invalid
Expected Behaviour
- Input field text should be clearly visible in both light and dark mode
- Negative numbers should show a clear error message e.g. "Please enter a positive number"
- Zero or invalid inputs like 000 should show a clear error message e.g. "Please enter a number greater than 0"
- No silent corrections β if the input is wrong, tell the user explicitly
hi @steam-bell-92, I'd love to work on this! Please assign it to me.
Description
Two related bugs found in the Fibonacci Series project:
Bug 1 β Dark Mode Text Visibility
In dark mode, the input field is completely invisible β both the default value (10) and any text the user types cannot be seen. The field appears empty even when it contains values.
Steps to reproduce:
Bug 2 β Input Validation Not Working
The input field accepts invalid values and handles them incorrectly instead of showing an error message.
Steps to reproduce:
Expected Behaviour
hi @steam-bell-92, I'd love to work on this! Please assign it to me.