DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 967,911 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in

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!