Hey everyone! I'm a high school student working on my final project, and I'm running into some issues with my code. I can't seem to get the results for the total cost and preferred lodging to display properly in the designated section. I've been trying different things to fix it, but nothing's working. Any guidance would be much appreciated! Here's a snippet of my code: [code included] Thanks in advance!
4 Answers
I totally second that suggestion! Sharing a link to your code would help a lot. From what I see, it seems like you're missing the part where the IDs for the total cost and lodging are referenced in your JavaScript. How have you structured your files? Knowing that could also help!
Asking GPT is a good idea, but if you tried that already and it didn't help, maybe we can dive into the code specifics together. I see some issues in your JavaScript that might be causing the problems, like how you're handling IDs. Can you clarify how you're dividing your files?
Maybe try creating a Fiddle with your code, and I can take a look at it there. It'll make it easier to debug. Let me know when you have it set up!
It looks like your code formatting is a bit off. Make sure to use proper formatting, or share a link to something like CodePen or GitHub so we can see it better. Also, can you let us know what you've tried so far? That'll help us understand the problem better!
Related Questions
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically
[Centos] Delete All Files And Folders That Contain a String