Greetings and thanks for reading!
I’ve proofread and tried to search around but can’t figure out why my .on event handler only works to switch it to 'F and not back to 'C?
Greetings and thanks for reading!
I’ve proofread and tried to search around but can’t figure out why my .on event handler only works to switch it to 'F and not back to 'C?
In your if-block’s condition, text
should be text()
, and =
should be ==
or ===
.
In the else-block,$('FC')
should be $('#FC')