Hi!
There some issues with the sample “Sudoku Solver” project.
Could you check, please?
Should I add an issue here https://github.com/FreeCodeCamp/freecodecamp/issues?
Description:
There is an issue “ReferenceError: setGrid is not defined” in “Sudoku Solver” https://sudoku-solver--freecodecamp.repl.co/ example project when a user enters/changes/removes data inside . Also, if data inside textarea was changed no changes apply to the sudoku grid. I suppose the second issue is because of the first.
I have: Firefox 79.0 (64-bit, macOS Catalina 10.15.6
Steps:
- Go to -> https://sudoku-solver--freecodecamp.repl.co/
- Open Dev Tools -> Console in browser
- Go to the page and find the textarea with the sample sudoku string and two buttons (Solve and Clear)
- Change data inside the textarea: remove/change/add any symbol.
(I removed last 34 positions) - Check the console for errors, check sudoku grid for changes
Actual result:
You can see an error in console.
Uncaught ReferenceError: setGrid is not defined
oninput https://sudoku-solver--freecodecamp.repl.co/:1
sudoku-solver–freecodecamp.repl.co:1:1
Uncaught ReferenceError: setGrid is not defined
oninput https://sudoku-solver--freecodecamp.repl.co/:1
The grid is not updated after changes
Expected result:
No error “setGrid is not defined”.
If data inside textarea was changed then valid changes should be applied to the grid.