JavaScript

Website URL

catellie.epizy.com

(please specify the URL of the site on which you are experiencing the problem)

Hi I have a script.js but for some reason its not loading correctly even though its linked to index.html.

Its like the code in script.js is not read thoroughly, some commands are not colour highlighted when you open it in file manager and click edit

Hey there!

From my end, your script loads just fine. Try clearing your browser cache. And for the file manager, it’s normal not to show specific colors for the codes like in editors since it’s just made for quick edits.

6 Likes

by default the section is hidden (CSS)

your JS should show it on click

probably the problem is in these CSS classes or something in JS

check this code or somewhere in that script.js file

I don’t have time right now to look at all the CSS classes you have
specified in HTML

Maybe it’s easier for you to use jQuery for these things?


the result should be something like this
image

7 Likes

I looked through your JS a bit again
there are a lot of errors from calling things (eg showOptions) before they are defined,
also several conflicts, undefined etc.

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.