New Perspectives on HTML and CSS: Brief
New Perspectives on HTML and CSS: Brief
6th Edition
ISBN: 9781133387268
Author: Patrick M. Carey
Publisher: Cengage Learning US
bartleby

Concept explainers

Question
Book Icon
Chapter 11, Problem 6CP1

a)

Program Plan Intro

To create a function lightStars() and declaring a starNumber variable, to store the value of alt attribute of the target of the event object.

b)

Program Plan Intro

To declare the star variable in the function lightStars() and this variable will contain the collection of object referenced by the span#starsimg.

c)

Program Plan Intro

To declare the loop for the star collection with index range starts form 0 and will iterate for all the value which are less than the starNumber and adding image bw_star2.png to light the stars of the collection.

d)

Program Plan Intro

To declare another loop for the star collection with index range starts form starNumeber and will iterate for all the value which are less than 5 and un-lighting all the stars by the adding the image bw_star.png to the stars of the collection.

e)

Program Plan Intro

To change the value of input box with id attribute “rating” to starNumber, here starNumber value is the value of starNumber variable.

f)

Program Plan Intro

To add the mouse leave event in the lightStars() function, to unlit all the lit stars when the mouse pointer moves off.

g)

Program Plan Intro

To set the rating clicked by the userand adding an event listener to remove the turnOffStars() function.

Blurred answer
Students have asked these similar questions
Ineed CODE HTML FORM IN SAMPLE PAGE (user name,Password) And button submit WITHOUT LINK With database (only sample page) And code php page  To link HTML PAGE WITH PHP PAGE in same folder in my device method:POST For when I press submit  I can show what the value I put In username and password
USING HTML Create header text center aligned. Create an “a” tag with text that says “New User” Create a table with 4 columns namely: ID, USERNAME, EMAIL, ACTION Create at least one dummy record, you can create multiple records if you want to. ID column must be clickable EMAIL column must be italic  ACTION action must contains a clickable “Edit” followed by pipe “|” and “Delete” links. Create a form with 4 input fields namely: Username, Email, Password, and Confirm Password and 2 buttons namely: Submit and Cancel SEE EXAMPLE FIGURE 2
React JS frontend programming Using html, css and react js, please create the login as you can see on the attached photo. No need to copy the background, only the placements of elements are needed.
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage