Question
Can anyone tell me what I am doing wrong in this JavaScript syntax. Its tutorial 11 case problem 1, Online Bookworms from New Perspectives in
Can anyone tell me what I am doing wrong in this JavaScript syntax. Its tutorial 11 case problem 1, Online Bookworms from New Perspectives in HTML, CSS3, and JavaScript. I am going to post the HTML and the JS files. I am stuck on number 3 of the lightStars function. I cannot get the src attribute to change.
Summary
Online Bookworms |Daniel Palmer is a content manager of Online Bookworms, a website dedicated to lovers of books and reading. One of Daniels tasks is to create a comments page in which users can enter short comments in a text area box about books they have read. To keep the comments short and to the point, Daniel wants to limit each comment to 1000 words. He asks you to write a script that will update a character counter that shows the user how much of the 1000 characters has already been typed.
Daniel also wants users to be able to rate the books by moving a mouse pointer over a row of five stars. If the user moves the mouse pointer over the third star, the first three stars should be lit. If the user moves the mouse pointer over the fourth star, the first four stars should be lit and so forth. Clicking a star image enters that rating into an input box for processing.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started