I can’t work out why my unit toggle function and my background images aren’t working. I’ve written all the code that I think should work but I must be missing something fundamental.
For the toggle function I’ve written a basic true/false click function. For the background image changes I’ve written some ifs based on the weather API icon codes.
I’ve learned SO much by working through issues up to this point (and it’s been excruciating) but I’m really banging my head against a wall on these last bits. Any help is much appreciated!