I currently set up the form like this
<!DOCTYPE html>
<html>
<body>
<h2>HTML Forms</h2>
<form action="https://api.form-data.com/f/nouq0w0o0raj1epp2izvh"
method="post" >
<label for="fname">First name:</label><br>
<input type="text" id="fname" name="fname" value="John"><br>
<label for="lname">Last name:</label><br>
<input type="text" id="lname" name="lname" value="Doee"><br><br>
<label for="lname">email:</label><br>
<input type="email" id="lname" name="email" value="pocey32178@chatich.com"><br><br>
<input type="submit" value="Submit">
</form>
</body>
</html>
which works fine the only issue is on submit I do not want the whole form to disappear but instead show notification that form is submitted sucessfully. so how can I modify the above form to make use of that Ajax thing and submit form without refreshing the page thanks