This is a simple piece of code to explain the rating bar.