Create a gist now

Instantly share code, notes, and snippets.

@pitastrudl /test.html Secret
Created May 7, 2016

What would you like to do?
<html><script>
var x = document.querySelectorAll("[id^='tile']");
for(i in x){
console.log(x[i]);
x[i].style.background = cardback;
}
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment