I would like to have multiple people write compliments to be displayed on my mirror and when each of these compliments gets displayed, I’d like there to be a little graphical tag in the upper left or right of the compliment that says the name of the person who wrote the compliment. I figure I could store the compliments like:
{ “You are the best kid in the world.”, “Mom” }
and “Mom” will be displayed along with the compliment.
I’m not a front end programmer and I am not familar with Javascript and HTML, so I was wondering if someone could orient me as to how I would go about implementing this. Would I have to modify the getDom funciton of the default complients module and add some code to draw an attribution tag when then compliment gets rendered? What would that code look like?
I’m not sure of the details of how to do this, and I’d really appreciate some pointers.
Thanks so much for your help!