Understanding async and defer attribute
When you want to run the same JavaScript on several pages of your website, you create a separate external JavaScript file with the .js extension and add it to your HTML file using the <script> tag and refer to it using the src attribute like so:
<scr...
sinchanams.hashnode.dev5 min read