Why isn't the temp conversion working for me
I just finished the web development fundamentals course and the last part didn't work for me. I've tried using it on replit, saving the files on my PC and opening them from there, and using a different browser. EDIT: I feel so dumb. I forgot to reference the JS and CSS in the HTML HTML: <form> <label for="celsius"> Celsius: </label> <input type="number" id="celsius" value="0"> <br><br> <label for="fahr">Fahrenheit</label> <input type="number" id="fahr" value="32"> </form> JS: window.onload = function(){ let c = document.getElementById("celsius"); let f = document.getElementById("fahr"); c.oninput = function(){ f.value = (c.value * 9/5) + 32; }; f.oninput = function(){ c.value = (f.value -32) * 5/9; }; };