79187798

Date: 2024-11-14 07:53:53
Score: 2
Natty:
Report link

Excellent query! The problem is that until the external JavaScript file is fully loaded, any inline code, such as show3(), will not be executed by the element with the src attribute. You can utilize the window.onload event in your external JS file or call the function after the external script has completed loading to make sure it executes. You will quickly understand JavaScript scope if you continue to explore!

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: slope game