+ 1

Color input opens by clicking the name

Hey Guys, following issue (js, HTML, CSS): 1. in var player1 = prompt() User enters two names 2. get Name by document.elementGetId().innerHTML = player1 3. create <Input type="color" id=color_p1> question: Now i want that If User clicks on the names, the <Input type=color should Open to Change the color of His Name I hope anyone can solve this problem. i tried a lot without success :(

31st May 2018, 7:01 PM
[Ger] Johnyyyyy
[Ger] Johnyyyyy - avatar
3 Answers
+ 2
Done
31st May 2018, 9:43 PM
[Ger] Johnyyyyy
[Ger] Johnyyyyy - avatar
+ 1
will you please elaborate!!
31st May 2018, 8:58 PM
Hemath Kumar
Hemath Kumar - avatar
+ 1
I'll provide you the code once I understood
31st May 2018, 9:46 PM
Hemath Kumar
Hemath Kumar - avatar