Answer to Question #47635 in AJAX | JavaScript | HTML | PHP for john

Question #47635
I am quite lost on this one:
<!DOCTYPE html>
<html>
<head>
<title>Temperature Converter</title>
<script type="text/javascript" src="Week7.js"></script>
</head>
<body>
<p>Enter a Temperature to Convert in the field below and select the starting scale.</p>
<input type="text" name="txtTemp" id="txtTemp" placeholder="Enter a Temperature" />
<br />
<br />
<input type="radio" id="radFahrenheit" name="radTemp" checked/>Fahrenheit to Celcius




<input type="radio" id="radCelcius" name="radTemp"/>Celcius to Fahrenheit








<button onclick="ConvertTemp();">Convert</button>





<div id="divResults"></div>
</body>
</html>

and what I've gotten so far:

function ConvertTemp(){
var radF = document.getElementById('radFahrenheit');
var radC = document.getElementById('radCelcius');

if(radF.checked){

FahrenheitToCelcius();
}else if(radC.checked){

CelciustoFahrenheit();
}
}

Any tips? thanks in advance.
1
Expert's answer
2015-05-29T05:28:41-0400
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-47635.pdf

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS