Will45
KPCKevin Powell - Community
•Created by Will45 on 10/18/2023 in #front-end
Code at the top of the Javascript file works, but the ones beneath don't.
Hello guys, i have a terrible problem.
i had finished my Javascript code for a Sign-up page (which is attached to a main page) and everything seemed to be working fine but after a while, it stopped.
After much debugging i realised that the code at the top of the page which contained a hamburger for the main page was working, while the ones beneath it which allowed you to switch between two forms in the Sign Up page, werent.
I interchanged the top & bottom codes and noticed that whichever code was on top was working and the one beneath wasnt.
I really need help with this so please help if you can.
Codepen: https://codepen.io/will-ndaji/pen/KKbjLKM
Thank You
5 replies
KPCKevin Powell - Community
•Created by Will45 on 10/14/2023 in #front-end
how to make images display on site when deployed on github
Hello, I uploaded my html, css and js files on github as well as my image folder, but when I deployed, the images werent displaying. I only saw empty boxes.
The link to the site is below.
willndaji.github.io/willGives-SDG-Website/
Please help.
4 replies
KPCKevin Powell - Community
•Created by Will45 on 9/12/2023 in #front-end
How to make a Quiz App disable other options after an option is selected?
Hello, i need help with my Javascript quiz app.
I need to disable other options after an option is selected.
I also need to find a way to make sure that when the "Next" button is clicked, the previously selected options/buttons are deselected.
I've tried doing this myself but wasnt able to.
I'd appreciate your help.
The codepen is given below:
https://codepen.io/will-ndaji/pen/zYyNjLJ
33 replies
KPCKevin Powell - Community
•Created by Will45 on 9/8/2023 in #front-end
how to make a Quiz app generate Randome options/answers from an array.
Hello.
I’m building a quiz app and I’m trying to run a function that selects random answers from an array quizObject[question].
I tried looping through the array to get the answers but it still didnt work.
I also realized that when it works, the answer with the “isTrue” variable will be displayed along with a text of “isTrue”.
I definitely need help with this.
The codepen is given below, thanks.
https://codepen.io/will-ndaji/pen/zYyNjLJ
5 replies
KPCKevin Powell - Community
•Created by Will45 on 9/6/2023 in #front-end
how to make a todo list delete button work in javascript
Hello. I’m building a todo list app and need the delete button to delete each list everytime the delete button is clicked, but the problem is the delete function doesn’t even register the button clicked. I’ve done everything possible but nothing is working.
The code is listed below.
The add list function is the “addBtn” function.
The delete function is the “iconBtn” function.
I’ve tried putting the iconBtn function inside and outside the addBtn function but it still doesnt log the “button clicked” to the console like I specified
Please help. I added the codepen below.
CODE:
https://codepen.io/Godswill-Obi-ndaji/pen/oNJYwmQ
13 replies
KPCKevin Powell - Community
•Created by Will45 on 9/5/2023 in #front-end
how to make my delete function/button work in javascript (todo list project)
Hello, for some reason i cant get my delete function to work. I need to delete each list anytime the delete button is clicked but the delete function doesn’t even register the button clicked. I’ve done everything possible but nothing is working.
The add list function is the “addBtn” function.
The delete function is the “iconBtn” function.
I’ve tried putting the iconBtn function inside and outside the addBtn function but it still doesnt log the “button clicked” to the console like I specified
Please help. I added the codepen below.
CODE:
https://codepen.io/Godswill-Obi-ndaji/pen/oNJYwmQ
8 replies