|
|
|
@ -205,7 +205,7 @@ First, let us write on the head part of the page.
|
|
|
|
|
<head>
|
|
|
|
|
<title>30DaysOfScript:Internal Script</title>
|
|
|
|
|
<script>
|
|
|
|
|
console.log('Welcome to 30DaysOfJavaScript')
|
|
|
|
|
console.log('Hello, World!')
|
|
|
|
|
</script>
|
|
|
|
|
</head>
|
|
|
|
|
<body></body>
|
|
|
|
@ -223,7 +223,7 @@ This is how we write an internal script most of the time. Writing the JavaScript
|
|
|
|
|
<body>
|
|
|
|
|
<button onclick="alert('Welcome to 30DaysOfJavaScript!');">Click Me</button>
|
|
|
|
|
<script>
|
|
|
|
|
console.log('Welcome to 30DaysOfJavaScript')
|
|
|
|
|
console.log('Hello, World!')
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|