- 1
Alright so I have this problem...
I am currently trying to make a thermometer, the code is up right now but every time I input a city and state, it just recreates the solo learn code playground. how do I fix this. https://code.sololearn.com/W7SmHO9jiO82/?ref=app
3 Respostas
+ 1
I think you may want to insert some code. First, wrap everything in this:
document.ready = function() {
//everything
}
Then I think you will also want to add this inside at the very top:
var thermometer = document.getElementById("thermometer");
0
An error I'm getting in the console when I run it, even before entering anything into the input, is that you have not defined the variable thermometer in your JavaScript. What is the variable thermometer supposed to be?
There are also many other errors in the js that need to be fixed.
0
Alright thanks