Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Theory And Applications 27th Australasian Database Conference Adc 20 Sydney Nsw September 28 29 20 Proceedings Lncs 9877

Authors: Muhammad Aamir Cheema ,Wenjie Zhang ,Lijun Chang

1st Edition

3319469215, 978-3319469218

More Books

Students also viewed these Databases questions

Question

(c) What is the resolution of this design?

Answered: 1 week ago

Question

How to solve maths problems with examples

Answered: 1 week ago

Question

Explain Coulomb's law with an example

Answered: 1 week ago

Question

What is operating system?

Answered: 1 week ago