Answer the question
In order to leave comments, you need to log in
How to add a button when clicked only once?
Hey guys. Tried different ways to do it does not work. I need something when I click on the button to create 2 buttons (Remove, Start), but only once, and not like mine 2.
Please tell me how to arrange this?
Code - https://codepen.io/Slasher_/pen/rJygPZ?editors=1010
Thank you!
Answer the question
In order to leave comments, you need to log in
Just add a check to see if you've already created these buttons or not.
if (кнопок_еще_нет) {
добавить
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question