I want to implement a custom alert box (maybe using sweetalert(or any other method)) where when the submit button is clicked a popup box will ask are you sure you want to submit, and the form will only submit if clicked yes, otherwise it will cancel.
Pls help out with codes Im a beginner in JS.
Thank you