arr1values in the button click handlers and how the
compareArraysfunction is using that?
setInterval? Did I just miss it? For automatic playback of the sequences, it seems that you would need something like that? I'll try to check in later...
completeoption in some way to make sure that the flashing sequenced in some reasonable way? Not sure because I haven't really tried this type of thing. It did seem that the flashing of the different colors went rather quickly? Like multiple buttons flashed at once.
Hopefully someone can help me with this. I've been searching a few hours and can't find a solution. I'm working on the weather app and I want a weather icon to change based on the current weather condition. The following code is without checking for the current weather condition, as I can't get my JS to change the icon even on page load.I can get the class to work if I add it directly in my HTML, so I believe I'm doing something wrong in JS. Thanks!
<div class="weather-icon wi"> <i id="#weather-icon"class=""></i> </div>