From e76fd84d811821254e0a203dfb3ccd30584c7705 Mon Sep 17 00:00:00 2001 From: Daniel May Date: Fri, 23 Apr 2021 15:09:46 +0100 Subject: [PATCH] Update Vanilla_js.md sidenote for adding a script tag to a HTML document. --- guides/Starters/Vanilla_js.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guides/Starters/Vanilla_js.md b/guides/Starters/Vanilla_js.md index 209db953..ec196821 100644 --- a/guides/Starters/Vanilla_js.md +++ b/guides/Starters/Vanilla_js.md @@ -7,6 +7,8 @@ Vanilla JavaScript is suitable for simple web applications or [static websites]( In order to use JavaScript, you'll need to create a HTML file, and include a script tag in the body of your document: `` +*As a sidenote, it is good practice to place the script tag before the closing body tag, this way the HTML can render before any Javascript code is run and hopefully avoid any problems!* + **Your HTML file should look a little something like this:** ```html