We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89d9452 commit e521f58Copy full SHA for e521f58
chapter9/map.html
@@ -11,10 +11,10 @@
11
}
12
13
function showCoords(eventObj) {
14
- var map = document.getElementById("coords");
+ var coords = document.getElementById("coords");
15
var x = eventObj.clientX;
16
var y = eventObj.clientY;
17
- map.innerHTML = "Map coordinates: " + x + ", " + y;
+ coords.innerHTML = "Map coordinates: " + x + ", " + y;
18
19
</script>
20
</head>
0 commit comments