Method - 1 Using script tag
Like we used style tag in the same file to add styling to our pages here we use script tag. Inside script tag we write our script and add JS in our HTML. You can see the code below. Don't worry about the script that I write inside the script tag.
Let's see the second method
So that's it for today. Don't worry about the script that I wrote inside the script tag or js file.
In next post we will explore some more topic in JS .
Meet you next post 😊😊
Happy Coding 👩💻👩💻👩💻