JSFiddle - React, Tailwind, and code Playground

HTML

<div class="formfields">
	Name: <input class="tbox" id="textfieldName" type="text"><br><br>
	Email: <input class="tbox" id="textfieldEmail" type="text"><br><br>
	Message: <input class="tbox" id="textfieldMessage" type="text" style="width: 343px ; height:100px">
</div><br>
	<input type="button" value="Send" onclick="SendEmail()" />

JavaScript

function SendEmail()
       {
           var body = escape(document.Form.textfieldName.value +"\n"+document.Form.textfieldEmail.value +"\n"+document.Form.textfieldMessage.value);
   		   var sTo="[email protected]";
           var subject = "This is SyntaxHelpSub";
		   window.location.href ="mailto:[email protected]"+sTo+"?subject="+Email Trigger+"&body="+body;
       }