This exercise was fairly straightforward and a nice introduction to if() statements in JS. I didn’t have any problems in getting the base code to run, so I proceeded to add an extra feature to the code. I wanted the image to change at random each time you hover over a particular section, and that was pretty straightforward and took 4 extra lines of code.
You can try out my modified Guess Color with random image picker over here:
http://imanas.shanghai.nyu.edu/~arz268/communications-lab/Week4/