JavaScript-Level-01-Connecting JavaScript

  <html lang="en" dir="ltr">


    <meta charset="utf-8">


  <script src="myscript.js"></script>   

The above red line shows that how Html file is being connected with JavaScript.



    <h1>Welcome To Your bank!</h1>



Javascript File:syntax for file naming is anyname.js

alert("Welcome to your bank");

var deposit=prompt("How much would you like to deposit today");

alert("you have deposited: " +deposit)

console.log("You are a cool person ")


Popular posts from this blog

Top 5 Best Books For Python,Data Science & Machine Learning

How To Start A BLOG

Top 50 Most Innovative Companies in 2020

Why Should We learn C Programming?

Blogger Tutorial