If your imported external JavaScript code seems to not working, even though you used
script src="code.js">, you may forget about adding the ‘async’. You may add this attribute into your index.html like that:

spoiler

<script src=“code.js” async>

it may seem irrelevant, but sometimes little things like that may help :)

1 point
*

Note: I removed the first “<” in “script src=“code.js”>” because it didn’t accept it to write

permalink
report
reply
1 point
*
Deleted by creator
permalink
report
reply

Programming_Overall

!programmers_overall@lemm.ee

Create post

Feel free to discuss programming with fellow programmers.

The rules

  • Be civil and nice.
  • No laughing at beginners
  • No porn
  • No NSFW
  • Do not be toxic against others
  • Do not be political

Community stats

  • 1

    Monthly active users

  • 3

    Posts

  • 1

    Comments

Community moderators