diff --git a/src/content/lesson/what-is-dom-define-dom.md b/src/content/lesson/what-is-dom-define-dom.md index 422ebb406..958b589de 100644 --- a/src/content/lesson/what-is-dom-define-dom.md +++ b/src/content/lesson/what-is-dom-define-dom.md @@ -23,7 +23,7 @@ Thankfully, we have browsers! They let us render our application in a visual int As you already know, the responsibility of the browser is to transform HTML/CSS code into visual elements. Those elements are mapped into a hierarchy that is stored in RAM memory, and it’s called The DOM. -With JavaScript we can manipulate the DOM (website elements) during runtime (during the application's life cycle). +With JavaScript we can manipulate the DOM (website elements) during runtime (the application's lifecycle). NOTE: Please always remember that all JavaScript code that you write in your HTML document MUST be wrapped inside a ` ``` +Nowadays, we tend to write all of our JS code in a separate file with extension `.js`, in which case the script tag in your html's body needs to look like this: + +```html +
+