Issue with unused constants - wanting them to be used

Joined
Dec 5, 2024
Messages
1
Reaction score
0
I am having a problem with my JavaScript and HTML. I want to be able to create a dashboard on a landing page (which can happen currently), and then I want to be able to create a new event using a modal which will then update the dashboard and refresh the page with the new event being added to the dashboard.
The problem I am having is that in my dashboard.js the majority of my constants are not being used, the only constant being used is the tableBody.
The project is available on my github in the repository Sophie2 and under the username jamesmillerick.

Also if anyone is good at Java as well as HTML/JavaScript, that would be great, because that issue could also be a java related problem.
In case it matters, the database is in PostgreSQL.

Any help would be greatly appreciated as I have been stuck on this for a long time.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,170
Messages
2,570,925
Members
47,466
Latest member
DrusillaYa

Latest Threads

Top