Help out with JavaScript code and a css question | SoloLearn: Learn to code for FREE!

+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

9/27/2020 3:53:38 PM

thatkidayo

15 Answers

New Answer

+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()">

+4

thatkidayo https://code.sololearn.com/WqKWfm5MDm6V/?ref=app

+2

thatkidayo check my code, it changes color everytime you click.

+1

🎃#H P 22™🎃 the background color isnt changing

+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.

0

What's the desired output that you want but you are not getting?

0

the color only changes once Maninder $ingh

0

the background color....the button is meant to be a background color changer

0

Maninder $ingh

0

thank you very much RDC

0

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;)

0

Oog its already fixed i thought u ment that there will be a new color everytime u click the button