+ 2

How change font color using onclick?

There needs to be a word and by clicking on one of the characters it should be changed its color. Something like this: WO<a href="#" onclick="this.style.fontcolor='green'";>R</a>D

17th Feb 2019, 2:45 PM
ŠœŃ–Ń…Š°Ń–Š» ŠšŠ°Ń€Š°Š»ŠµŠ²Ń–ч
ŠœŃ–Ń…Š°Ń–Š» ŠšŠ°Ń€Š°Š»ŠµŠ²Ń–ч - avatar
2 Answers
+ 5
WO<a href="#" onclick="this.style.color='green'">R</a>D
17th Feb 2019, 2:59 PM
CalviÕ²
CalviÕ² - avatar
+ 1
color
22nd Feb 2019, 2:07 AM
vijay shaw