Hi dear welcome to Codeprime Blog . In this post we are going to learn Basic Types of javascript It Three type We can use it Internal means After body section and we can apply the code inside header section and we can can link external file also i have writed the internal code please make them uncoment and practice it. First Creat A index.html file Copy This HTML CODE and pest it one your code editor. 2ndly creat script.js file Then Copy The jS CODE. and pest it then open the index.html file with your browser.
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TYPES OF JAVASCRIPT</title>
<script src="script.js"></script>
</head>
<body style="display: flex; justify-content:center;flex-direction: column;align-items: center;">
</body>
Javascript
<!-- external js-->
alert("helo codeprime")
0 Comments