hotsauce4dayz
KPCKevin Powell - Community
•Created by hotsauce4dayz on 7/28/2023 in #front-end
How do I get event listeners to work on elements rendered with JavaScript
I am trying to create a to-do list application where you can delete and edit tasks.
I am working out the delete tasks function. It is not working however. I tried doing a simple task such as logging to the console when the button is clicked, but it won't even respond to that. This seems only to be happening to the elements rendered with JavaScript.
Here is my html code
Discord is saying my message is too long.
So here is the code pen since I can't post the html here
https://codepen.io/KhumboMunsaka/pen/gOQQMMd
Here is my JavaScript code
Feel free to give any feedback on the
9 replies
KPCKevin Powell - Community
•Created by hotsauce4dayz on 5/6/2023 in #front-end
How do I disable an input until a date is selected.
I am new to JS and I am working on a project. A booking project.
I want to disable an input until a date is selected.
Here is the JS:
Here is the html:
The disabled class:
12 replies