Javatpoint Logo

Practice on javascript

By: gaurav*** On: Fri Jun 15 19:28:28 IST 2018     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User
I'm not getting required output from below code. There should appear button option but I'm not getting.

Code:
<html>
<h2> JavaScript Learning </h2>
<body>
<form>
<script type= "text/javascript">
document.write("javaScript is a easy than JAVA Programming");
<input type="button" value="click" onclick="alert("Hello JavaScript");"/>
</script>
</form>
</body>
</html>
Up0Down
jsp  x  93Tags