Javascript:
Javascript is a script which is used in a webpage for dynamic view.It is a scripting language.
At the beginning of the javascript you have to follow these steps.
1.At first you have to download a code editor like notepad++.
2.You must have to know HTML and CSS.
3.Then open notepad++ and write these code.
First code:
<html>
<head>
<title>creativity</title>
</head>
<body>
<script type="text/javascript">
document.write("please touch it");
</script>
</body>
</html>
4.Next you have to save the file anywhere and the file type must be .js and .html extension.And must put the both file in the same folder.
5.Run the HTML file on your browser and get the output below.
Follow the screenshots.
Output on the browser: please touch it.
Javascript is a script which is used in a webpage for dynamic view.It is a scripting language.
At the beginning of the javascript you have to follow these steps.
1.At first you have to download a code editor like notepad++.
2.You must have to know HTML and CSS.
3.Then open notepad++ and write these code.
First code:
<html>
<head>
<title>creativity</title>
</head>
<body>
<script type="text/javascript">
document.write("please touch it");
</script>
</body>
</html>
4.Next you have to save the file anywhere and the file type must be .js and .html extension.And must put the both file in the same folder.
5.Run the HTML file on your browser and get the output below.
Follow the screenshots.
Output on the browser: please touch it.
Screenshots
Two
Three
Four
Output after run the html file on browser