Quiz icon indicating copy to clipboard operation
Quiz copied to clipboard

Alert does not have an option

Open victornwakpa opened this issue 1 year ago • 1 comments

The alert message does not have a cancel button. The user is forced to click okay anytime a prompt displays

Screenshot 10-03-2023 11 19 11

Describe the solution you'd like

Using confirm() instead of alert() can help fix this. The image below is the modification I made.

Screenshot 10-03-2023 12 02 49

Describe alternatives you've considered

I just made a pull request with the modification I made. By using a confirm method and an if statement the application will be more user-friendly.

victornwakpa avatar Oct 03 '23 11:10 victornwakpa