Use defer: The defer attribute makes sure the script is executed after the HTML is parsed.
Use async: The async attribute allows the script to load and execute asynchronously.