Line 5: | Line 5: | ||
<script> | <script> | ||
− | function | + | document.getElementById("showImage").onclick = function() { |
− | + | document.getElementById("theImage").style.display = "block"; | |
− | + | ||
} | } | ||
</script> | </script> | ||
</html> | </html> |
Line 5: | Line 5: | ||
<script> | <script> | ||
− | function | + | document.getElementById("showImage").onclick = function() { |
− | + | document.getElementById("theImage").style.display = "block"; | |
− | + | ||
} | } | ||
</script> | </script> | ||
</html> | </html> |