Hi,
I want to enable/disable a button after it has been pressed using a function. How do I do this? My current code won’t work. Also, how would I have the button automatically disabled, but then it would be enabled after another button has been pressed?
Where did your click function go? Why did you decide to use querySelector? i only linked to the documentation to show setAttribute. You had to see how to implement it, not just copy paste code from documentation without a thought
currently, your querySelector will attempt to find a <buttonthing></buttonthing> element, which doesn’t exist