Javatpoint Logo

Practice on javaScript

By: gaurav*** On: Fri Jun 15 19:32:42 IST 2018     Question Reputation0 Answer Reputation0 Quiz Belt Series Points0  0Blank User
I'm not getting require output from below code. There should be button option but not getting it, Any help!.

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