Skip to content

Instantly share code, notes, and snippets.

@spiritbroski
Created September 27, 2020 09:41
Show Gist options
  • Save spiritbroski/541f3ffdb9768562e810a5e966cfab58 to your computer and use it in GitHub Desktop.
Save spiritbroski/541f3ffdb9768562e810a5e966cfab58 to your computer and use it in GitHub Desktop.
function selectImage(e) {
console.log("s")
listImages.forEach(a => {
a.color = "none";
})
listImages[e].color = "solid"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment