File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
project-7-temperature-converter Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 12
12
< h1 class ="heading "> Temperature Converter</ h1 >
13
13
< div class ="temp-container ">
14
14
< label for ="celsius "> Celsius:</ label >
15
- < input type ="number " name ="celsius " id ="celsius " placeholder ="Enter Temperature " class ="input ">
15
+ < input onchange =" computeTemp(event) " type ="number " name ="celsius " id ="celsius " placeholder ="Enter Temperature " class ="input ">
16
16
</ div >
17
17
< div class ="temp-container ">
18
18
< label for ="fahrenheit "> Fahrenheit:</ label >
19
- < input type ="number " name ="fahrenheit " id ="fahrenheit " placeholder ="Enter Temperature " class ="input ">
19
+ < input onchange =" computeTemp(event) " type ="number " name ="fahrenheit " id ="fahrenheit " placeholder ="Enter Temperature " class ="input ">
20
20
</ div >
21
21
< div class ="temp-container ">
22
22
< label for ="kelvin "> Kelvin:</ label >
23
- < input type ="number " name ="kelvin " id ="kelvin " placeholder ="Enter Temperature " class ="input ">
23
+ < input onchange =" computeTemp(event) " type ="number " name ="kelvin " id ="kelvin " placeholder ="Enter Temperature " class ="input ">
24
24
</ div >
25
25
</ div >
26
+ < script src ="main.js "> </ script >
26
27
</ body >
27
28
</ html >
You can’t perform that action at this time.
0 commit comments