+ 1

Help out with JavaScript code and a css question

There are comments with questions in the css and js sections https://code.sololearn.com/WWbxBW01x7I7/?ref=app

27th Sep 2020, 3:53 PM
thatkidayo
thatkidayo - avatar
15 Answers
+ 4
Line 11 in HTML. You did not call your "funct" function properly, you missed those () Fix <div id="jj" onmouseover="func()" onmouseout="fun()" onclick="funct()">
27th Sep 2020, 3:56 PM
Raj Chhatrala
Raj Chhatrala - avatar
27th Sep 2020, 4:07 PM
Raj Chhatrala
Raj Chhatrala - avatar
+ 2
thatkidayo check my code, it changes color everytime you click.
27th Sep 2020, 5:04 PM
Raj Chhatrala
Raj Chhatrala - avatar
+ 1
🎃#H P 22ℱ🎃 the background color isnt changing
27th Sep 2020, 4:03 PM
thatkidayo
thatkidayo - avatar
+ 1
thatkidayo please more elaborate on which element colour you are talking about and how many times you want to change it and when and how.
27th Sep 2020, 4:36 PM
Maninder $ingh
Maninder $ingh - avatar
0
What's the desired output that you want but you are not getting?
27th Sep 2020, 4:21 PM
Maninder $ingh
Maninder $ingh - avatar
0
the color only changes once Maninder $ingh
27th Sep 2020, 4:34 PM
thatkidayo
thatkidayo - avatar
0
the background color....the button is meant to be a background color changer
27th Sep 2020, 4:41 PM
thatkidayo
thatkidayo - avatar
27th Sep 2020, 4:42 PM
thatkidayo
thatkidayo - avatar
0
thank you very much RDC
27th Sep 2020, 5:11 PM
thatkidayo
thatkidayo - avatar
0
Amine
28th Sep 2020, 9:11 AM
amine gaming
amine gaming - avatar
0
I just have one theory where im not so sure of. So you did that the string generate six times a new color hexamedical value. My theory is if you click again wouldnt it ADD a new number to the string instead of REPLACING it. Im not sure im new with html;)
29th Sep 2020, 3:19 PM
The Assassin
The Assassin - avatar
0
Oog its already fixed i thought u ment that there will be a new color everytime u click the button
29th Sep 2020, 3:20 PM
The Assassin
The Assassin - avatar