Highlight New added content Html, CSS & JS [closed]

تبليغ
سؤال

يرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.

تبليغ
‎إلغاء

I have a web page that dynamically update it self (adds new text from a json file). The new added content gets a red color and the previous gets a white color.
How can I make the new added content when the user clicks anywhere on the web page change its color to white?

‫أضف إجابة

تصفح
تصفح

مجهول يجيب