JSFiddle - React, Tailwind, and code Playground

HTML

<script src="CSS.css" type="text/CSS"></script>
    <script src="javascript-code.js" type="text/javascript"></script>
    <script src="jquery-script.js" type="text/javascript"></script>
    <title>Calculator</title>
<body>
<div id="leftside">
	<h2>Monkey Business ROI Calculator</h2>	 

	<form action="" method="post" name="calculator">
	</div>
	<div id="rightside"></div>					
	<div style="clear: both;"> </div>
	<h4 style="margin-top: 35px;"> Return on Investment Calculator </h4>
	<table>
	<tr style="text-align: left;"><th>Your Business</th></tr>
	<tr>

	<td><label for="hoursResult">Hours Spent Scheduling</label></td>
	<td><label for="hoursResult">
	<input type="text" class="right" id="hoursResult" size="5" value="0" /></label></td>
	</tr>

	<tr>
	<td><label for="costResult">Hourly Cost to Currently Schedule</label></td>
	<td><label for="costResult">$
	<input type="text" class="right" id="costResult" size="5" value="0.00" /></label></td>
	</tr>			
			
	<tr>
	<td><label for="totalResult">Estimated value of an online scheduler per month: </label></td>
	<td><label for="totalResult">$
	<input type="text" class="right" id="totalResult" size="5" value="" /></label></td>
	</tr>			
	
	<tr>
	<td align="left"><input type="button" value="Calculate Now!" onclick="calculate()"></td>
	<td align="center"><input type="reset" value="Reset"</td>
	</tr>
	</table>		

	</form>
</body>
</html>

JavaScript

function calculate() {	  

	var hoursValue = document.calculator.hours.value * 15;
	document.getElementById("hoursResult").value = hoursValue.toFixed(2);
	
	var costValue = document.calculator.cost.value * 2;
	document.getElementById("costResult").value = costValue.toFixed(2);

	

	var totalresult = hoursValue*costValue;
	document.getElementById("totalResult").innerHTML= totalresult.toFixed(2);

		
	
	if(isNaN(hoursValue)) {alert("Your response for hours spent contains a non-numeric character.
		Please re-enter your response.");}
	if(isNaN(costValue)) {alert("Your response for hourly cost contains a non-numeric character.
		Please re-enter your response.");}
	
	
}