This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.

Smartphone icons created by Freepik - Flaticon

JS Modules

<script type="module">
import message from "./message.js";

document.getElementById("demo").innerHTML = message();
</script>

"./message.js"
const message = () => {
const name = "Jesse";
const age = 40;
return name + ' is ' + age + ' years old.';
};

export default message;