And since this is an assignment, I'm not going to do more of your homework for you. You can figure out how to copy the rating and user name to the <div>.
especially look at rule 1.5
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.