-Writing the ratings to the page