DEV Community

Discussion on: Clean up your HTML with ES6 Modules

Collapse
andreasvirkus profile image
ajv

Thanks for the article! Small typo - you didn't add type="module" to the "updated" script example, it still says

<script src="./app.js"></script>
Enter fullscreen mode Exit fullscreen mode

Even though I think you meant

<script src="./app.js" type="module"></script>
Enter fullscreen mode Exit fullscreen mode

👋

Collapse
muhammedmoussa profile image
Moussa Author

you are right, fixed. thanks for the feedback!