Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <p id="demo"><img src="Game_Images/gold.png"></p>
- <script>
- var gold = 0;
- //display gold image and gold var on same line
- document.getElementById("demo").innerHTML = <img
- src="Game_Images/gold.png"> + gold;
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement