JSFiddle - React, Tailwind, and code Playground

HTML

<form method="post" action="">
<div>
      <div>Donation Amount:</div>
      <input name="amount" type="text" id="get_donation_amt" required="required" />
    </div>   
  <input name="donation_submit" type="submit" id="Submit" value="Proceed" onclick="return donationFormSend();" />
  </form>

JavaScript

function donationFormSend(){
	
	get_donation_amount = document.getElementById("get_donation_amt").value;
	
	if(get_donation_amount != ''){
		return confirm("You have specified "+get_donation_amount+" as the amount you wish to donate. \n\n Are you sure you want to proceed with the donation?");
	}
	else{
		alert("Amount must be specified to process your donation.");
		return false;	
	}
	
}