阅读背景:

如何使用javascript在两个不同颜色之间切换

来源:互联网 

Im trying to change between two colors when I click on the event listener using javascript. Currently when I click on the event (click) it changes the color to black. When I click on it again, I want it to change back to the default, which is white. I think that an if statement is involved, but Im not sure how the logic would work in this case. Im trying to change between two colors when I c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: