Project: form
Task (moderate): Class RatingQuestion (file 'common/RatingQuestion.js') inherits from Question. Its constructor params are: title (string), name (string), starCount (number, default 5). Highlight stars (class 'star') up to the clicked star (class 'active'), and get the rating value (stored in param-named control) from 0 to 1. Create a RatingQuestion with random title, 'rating1' name. Create another RatingQuestion with random title, 'rating2' name, 10 stars. Prepend rating1 and rating2 to the form.