lundi 24 avril 2017

Can there be multiple executions for an if statement?

Essentially, I want to have it so that

if(condition) {"do this" || "do that"};

Specifically, I'm having it so that if a specific div is set to a specific color (picked randomly from an array), then 1 of 4 other divs changes its color to a specific color.

Thanks!

Aucun commentaire:

Enregistrer un commentaire