Learning js should be fun. It's fun if it's easy.
I tried my best in writing this, to understand it easily.
<br> To write js in html, we can use script tag.</p> <p><img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rptufytah1d6ciegkpkp.png" alt="Image description"/></p> <p>Other ways to use script tag <br> 1, Write javascript in a .js file and link it with src<br> 2, Add a CDN link to src inside script tag</p> <p><img src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/za5ikrxp1ki13j8jgvxn.png" alt="Image description"/></p>
Top comments (0)