Why button “click2” doesn’t work. Почему кнопка “click2” не работает? | Sololearn: Learn to code for FREE!
0

Why button “click2” doesn’t work. Почему кнопка “click2” не работает?

https://code.sololearn.com/WoVC7Jv9NFE9/?ref=app

5th Jan 2022, 11:37 AM
101
9 Answers
+ 2
On line 50 in the HTML code you have: var al = document.getElementById("box") You should have var a = document.getElementById("box") Why did you mix HTML, CSS and JS Code? You can write them separately in each page tab.
5th Jan 2022, 11:50 AM
Romeo Cojocaru
Romeo Cojocaru - avatar
+ 1
THANK YOU!!!
5th Jan 2022, 3:51 PM
101
0
You help ms)
5th Jan 2022, 3:51 PM
101
0
Me)
5th Jan 2022, 3:51 PM
101
0
Hi! Can you say why my code dosen’t work? https://code.sololearn.com/WoVC7Jv9NFE9/?ref=app. Pleas
5th Jan 2022, 4:55 PM
101
0
Why I’m mix HTML,CSS and JS? Becouse it’s izi
5th Jan 2022, 4:58 PM
101
0
You must do things in a proper way when you are in the learning stage. When you become a God or a Pro, you can do them in an izi mode.
5th Jan 2022, 5:02 PM
Romeo Cojocaru
Romeo Cojocaru - avatar
0
Ok! I looked over your code, but I'm not a JS connoisseur. If you look at my profile, I just started the JS course. Maybe, others will help you. Sorry!
5th Jan 2022, 5:03 PM
Romeo Cojocaru
Romeo Cojocaru - avatar
0
Ok
5th Jan 2022, 5:40 PM
101