JS Conditionals Exercise (Vivian)

I ran into trouble when I try coding. First I thought to make the three pics glow/disappear by sequence. Though I know the function, i don’t really know how to make the same button do different things. 

Hence I turned to the professor in class, she taught me to use the opacity instead. My teammate helped me to correct the codes, yet for some reason I still could not make it move.

During the weekend, I kept on progressing on the comic project, while gaining inspiration from it as well as the online websites for my recitation exercise. I adapted it by using simple symbols in replace of long sentences of instructions, in order to make the coding clearer. However, I still could not make it function well. So far I could only make the first step: let the first pic dimmed and the second pic glowed. See below:

Here is the codes I have, I really hope I could make it through next week after discussing with the TA.



Leave a Reply