Anastasios Sampanis• 120
@anastasis01
Submitted
Any insights for how i can implement the mark as read part ?
@romitauber
@anastasis01
Submitted
Any insights for how i can implement the mark as read part ?
@romitauber
Posted
I think a way to implement the "mark as read" part it's maybe to put a button on that text and create a class with de read format (i think the main difference is the background-color, i didn't do this challenge yet) and with a little bit of JS set an eventlistener to that button with a toggle or and add to establish the class with the read format on the elements (previusly you must create variables to each element that you would like to transform). You can do it only with JS or use some Jquery. Hope this works! Good luck!
Marked as helpful