Sinchana M Ssinchanams.hashnode.dev·Jun 10, 2022Understanding async and defer attributeWhen 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...1 like·79 readsasync vs deferAdd a thoughtful commentNo comments yetBe the first to start the conversation.