/**
 * In this example the JavaScript code is located in the HTML file.
 * The reason behind this is because to use JavaScript modules the script tag
 * has to contain the attribute type="module". At the time of writing this
 * attribute was unable to be set in all online code editors.
 */