Looking for help debugging a "not defined" error in JavaScript

I've made a Reddit post showing the problem I am having. I have a section of code where I define an HTML button with an onclick attribute. Regardless of what function I define, I get a "not defined" error. If you're able to help me figure out why, please bid the amount you can help me for. I can share my screen with AnyDesk and send the relevant code, but would prefer not to send my entire code base unless we decide to work together more in the future.

[login to view URL]

Taidot: JavaScript

About the Client:
( 14 arvostelua ) Las Vegas, United States

Projektin tunnus: #32092640

Myönnetty käyttäjälle:


Hi, Here’s my bid to get it fixed for you and I am ready to start right away. Please contact me in chat if you would like to discuss.

$15 USD 1 päivässä
(37 Arvostelua)

13 freelanceria on tarjonnut keskimäärin $22 tähän työhön


Hi, i looked at the post and i have few follow up questions. If you are interested, feel free to message me so i can ask them. I am available right now and i believe i can help you. Thanks, Milan

$15 USD 1 päivässä
(293 arvostelua)
(42 arvostelua)
(33 arvostelua)
(52 arvostelua)

Hi there, Hope you are keeping good health. I would like to introduce to myself that I am a professional, skilled and experienced developer. I have got exact set of skills to complete your project by given time frame Lisää

$50 USD 1 päivässä
(14 arvostelua)
(23 arvostelua)

Hi, i am very good in javascript. i had review the your problem. I can help you out to fix undefined issue. Let me know if you are interested Thanks

$20 USD 1 päivässä
(14 arvostelua)

Hello. It's Denys, full stack developer. I can fix your javascript issue within an hour. Please contact ,e. Thanks.

$25 USD 1 päivässä
(1 arvostelu)

Hello! I am a web & mobile developer with 7+ years of experience. I will be glad to help you right now. Feel free to contact me and ask any questions.

$10 USD 1 päivässä
(1 arvostelu)

Hello, I can help you to solve this problem for 15$ (ready to start now) and I am confident I can exceed your expectations. I am full-stack web developer with 3 years of experience my portfolio: [login to view URL] Lisää

$15 USD 1 päivässä
(0 arvostelua)

Hello I understand your problem, it's a DOM case folks. I can solve your problem. Hopefully you will call me. With good wishes.

$10 USD 1 päivässä
(0 arvostelua)

Hi there, I believe I can help you with this problem. If the browser tells you that the function isn't defined then probably it cant access the function. There can be multiple reasons for, maybe the function scope isn Lisää

$10 USD 1 päivässä
(0 arvostelua)