Wednesday 10 May 2017

button click test size change

<!DOCTYPE html>
<html>

<body>

<h2>What Can JavaScript Do?</h2>

<p id="demo">JavaScript can change HTML content.</p>

<button type="button"
onclick="document.getElementById('demo').style.fontSize='35px'">
Click Me!
</button>

</body>
</html>

No comments:

Post a Comment