Skip to content

Commit

Permalink
java script testing
Browse files Browse the repository at this point in the history
  • Loading branch information
DoodlePinBob committed Sep 27, 2024
1 parent 3147bc9 commit d579482
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 3dsGame/touch.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
<body>

<h1>touch games</h1>
<button>click this</button>
<p>no games refresh to check again.</p>

<script src="touch.js"></script>
</body>

</html>
6 changes: 6 additions & 0 deletions 3dsGame/touch.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
var btn = document.querySelector('button');
var text = document.querySelector('p')

btn.onclick = () => {
text.innerHTML = "wow"
}

0 comments on commit d579482

Please sign in to comment.