Tried to mimic the example’s “switch button” (just one onClick - in this case, the letter itself - to change from C to F and from F to C again).
I was able to make it change from C to F, but the thing is: I just can’t make it change back.
I thought an else statement would be enough, but I was wrong. I think my logic is out. I’ve been trying for more than an hour now, but I don’t think I’m going anywhere with my trying & searching because I’m probably am persisting in an error.
Please, could you take a look at my code and help me?
I really need a light here