How to make so the buttons dont dissapear when a <p> tag comes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make so the buttons dont dissapear when a <p> tag comes

https://code.sololearn.com/WSogstyGLqTV i try to make a cookie clicker. But the autoclicker and the other upgrade ) still have to make ) dissapear when you buy it and the <p> tag comes. Can someone help me with this? so in short: 1. How to still have the buttons there when you bought something 2. Is it maybe possible to make the shop in another window? I dont know if html supports that.. But like a window that can open when you click on it and close it when you click on X.. so the upgrades dont have to be in the main window Thanks!!

24th Jun 2019, 10:34 AM
mine
mine - avatar
8 Answers
24th Jun 2019, 1:17 PM
Nico Ruder
Nico Ruder - avatar
+ 3
you miss a > and some "" what produces the error and check4 is missing
24th Jun 2019, 11:39 AM
Nico Ruder
Nico Ruder - avatar
+ 3
ok i tested the code but i think it is a problem by sololearn that it doesnt work because i have the same issue
24th Jun 2019, 2:24 PM
Nico Ruder
Nico Ruder - avatar
+ 3
ok i found the problem you cant use the function click i used the func name sclick and it worked
24th Jun 2019, 2:27 PM
Nico Ruder
Nico Ruder - avatar
+ 2
please consiter to rename the functions
24th Jun 2019, 1:19 PM
Nico Ruder
Nico Ruder - avatar
+ 2
No problem
27th Jun 2019, 2:12 PM
Nico Ruder
Nico Ruder - avatar
+ 1
Nico Ruder the code works, and with the closing > the code doenst work. Buuut i try to make the message that comes when you bought the upgrade. But that removes the button and i dont want that too happen, but i have no idea how to fix it..
24th Jun 2019, 12:18 PM
mine
mine - avatar
0
Thank you! sorry for the late reply. Ill go try to code further and you helped me alot :D
26th Jun 2019, 10:18 AM
mine
mine - avatar