This makes the button link to the results page and submit the users answer tot he final question tot he database.
Fixes # 137 and 172
There is an error in issue 172. It states that the URL should ens with "/resultPage". But the router says it should be "/quiz-results/:userId".
How to test?
Open branch and run "npm run dev". Follow the quiz through to the results page. Make sure your database has up to date migrations and seeds before beginning.
Checklist
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] This PR is ready to be merged and not breaking any other functionality
Description
This makes the button link to the results page and submit the users answer tot he final question tot he database.
Fixes # 137 and 172
There is an error in issue 172. It states that the URL should ens with "/resultPage". But the router says it should be "/quiz-results/:userId".
How to test?
Open branch and run "npm run dev". Follow the quiz through to the results page. Make sure your database has up to date migrations and seeds before beginning.
Checklist