Neemuzano
Lurker
- Joined
- Mar 26, 2024
- Messages
- 14
Hello everyone,
I'm working on a landing page and having trouble getting my external JavaScript file to load properly. I tried referencing it in the <head> section of my HTML, the script isn't being recognized when I inspect the page in the browser.
Here's what I've tried so far:
1. Script Tag in Head:
I'm referencing the script with the following tag:
<script src="/page-scripts.js"></script>
The page-scripts.js file is located in the root directory of my server.
Does anyone have any ideas on why the script might not be loading or how to troubleshoot this further? I'd appreciate
I'm working on a landing page and having trouble getting my external JavaScript file to load properly. I tried referencing it in the <head> section of my HTML, the script isn't being recognized when I inspect the page in the browser.
Here's what I've tried so far:
1. Script Tag in Head:
I'm referencing the script with the following tag:
<script src="/page-scripts.js"></script>
The page-scripts.js file is located in the root directory of my server.
Does anyone have any ideas on why the script might not be loading or how to troubleshoot this further? I'd appreciate