Михаил Капелько 1 year ago
parent
commit
c0658d17dc
1 changed files with 7 additions and 6 deletions
  1. +7
    -6
      web/memory.html

+ 7
- 6
web/memory.html View File

@@ -6,12 +6,6 @@
<body> <body>
</body> </body>
<script> <script>
/*
document.onclick = function() {
document.body.innerHTML += "!";
};
*/

var items = [] var items = []


// Section16Buttons. // Section16Buttons.
@@ -39,5 +33,12 @@
item.style.background = "blue" item.style.background = "blue"
} }


// SectionSelection.
for (let id in items) {
var item = items[id]
item.onclick = function() {
console.log("ИГР select id:", id)
}
}
</script> </script>
</html> </html>

Loading…
Cancel
Save