Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

The information needed to complete this lab can be found in your textbook and the learning modules here in Canvas. There is no need to copy code from the internet to complete your assignment. Doing so...

1 answer below »
The information needed to complete this lab can be found in your textbook and the learning modules here in Canvas.  There is no need to copy  code from the internet to complete your assignment.  Doing so will result in academic dishonesty penalties per the course syllabus.
· When your main page loads, prompt the user for their name and store it in a variable.  Then create an alert that welcomes the user to the page using the name they entered.  (HINT: the instructions indicate the event handler to use!)
· On each of your pages, use javascript to display automatically the day/time the page was last updated. (HINT: This is a property of the document!)
· On at least two of your images on your image page, add a script that displays an alert when the user clicks one of the images.  The alert should give a short description or additional information about the image.
· Add a countdown to something relevant to the company (holiday, event, specials/sales, etc.)  and display the output in your HTML.  This should update automatically subtracting the date of the event and the cu
ent date. The output will look something like "There are ### days until the sale!" where ### is automatically filled in with the number of days calculated using the javascript. This should not be a countdown clock that ticks away second, minutes, etc.  This should be done using a function.
· Add an a
ay of quotes or facts related to your company and have a javascript generate a random number that is in turn, used to display one of the quotes randomly in your HTML.  You a
ay should contain at least 5 quotes. When the page reloads, a new quote should appear.  This also needs to be done using a function.
· EXTRA CREDIT: Go to http:
www.javascriptkit.com/howto/show1.shtml (Links to an external site.) and choose one of the two tutorials on creating a slideshow.  Work through the code using your images to create a slideshow on your site.
Zip all of your files, including your html, css, and image files, and attach here in the assignment tool by the due date.  Even if some of your scripts are not working, be sure and publish them so you can receive partial credit where possible.
Ru
ic
Lab 5
    Lab 5
    Criteria
    Ratings
    Pts
    This criterion is linked to a Learning OutcomeScript 1: Prompt Use
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 1: Store in Variable
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 1: Alert
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 1: Concatenation
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 2: lastModified script
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 2: Used on all pages
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 3: onClick event
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 3: Alert
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 4: Create two dates
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 4: Subtract two dates
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 4: Convert to days and round
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 4: document.write output
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 4: Function for countdown
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 5: Create a
ay
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 5: Populate a
ay
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 5: Create random numbe
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 5; Select quote from a
ay using random numbe
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 5: Disply quote
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 5: Function for quotes
    
    5.0 pts
    This criterion is linked to a Learning OutcomeScript 5 & 6: Quotes and countdown appropriate to business
    
    5.0 pts
    Total Points: 100.0
Answered Same Day Jul 04, 2021

Solution

Neha answered on Jul 09 2021
157 Votes
Lab 4 Tables, Forms, and Multimedia/contacts.html
Nutrino Edible Oil



Contact:
                    Name        Email        PhoneNo
        Alfreds Futterkiste        [email protected]        889986786
        Berglunds sna
köp        [email protected]        979089097
        Centro comercial Moctezuma        [email protected]        981109998
            

        Home
        Links
        Images
        Contacts
        ROI
Copyright © 2020 Nutrino Edible Oil
[email protected]
            

Lab 4 Tables, Forms, and Multimedia/countdown.js
var deadline = new Date("Aug 3, 2020 15:37:25").getTime();
var x = setInterval(function() {
var now = new Date().getTime();
var t = deadline - now;
var days = Math.floor(t / (1000 * 60 * 60 * 24));
var hours = Math.floor((t%(1000 * 60 * 60 * 24))/(1000 * 60 * 60));
var minutes = Math.floor((t % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((t % (1000 * 60)) / 1000);
document.getElementById("demo").innerHTML = days + "d "
+ hours + "h " + minutes + "m " + seconds + "s For 50% OFF";
if (t < 0) {
clearInterval(x);
document.getElementById("demo").innerHTML = "EXPIRED";
}
}, 1000);
Lab 4 Tables, Forms, and Multimedia/im/Ambient.mp3
www.fesliyanstudios.com
www.fesliyanstudios.com
www.fesliyanstudios.com
36144.0
eng -
www.fesliyanstudios.com�
Lab 4 Tables, Forms, and Multimedia/im
astei-
idge.jpg
Lab 4 Tables, Forms, and Multimedia/im
ullet.jpg
Lab 4 Tables, Forms, and Multimedia/im/download.jpg
Lab 4 Tables, Forms, and Multimedia/im/evening-sun.jpg
Lab 4 Tables, Forms, and Multimedia/im/icon.jpg
Lab 4 Tables, Forms, and Multimedia/im/landscape.webp
Lab 4 Tables, Forms, and Multimedia/im/mountain.jpg
Lab 4 Tables, Forms, and Multimedia/im/sky.webp
Lab 4 Tables, Forms, and Multimedia/images.html
Nutrino Edible Oil
Change quote

Images
    

    
    
    



    
    
    

    
        Home
        Links
        Images
        Contacts
        ROI
Copyright © 2020 Nutrino Edible Oil
[email protected]
            

Lab 4 Tables, Forms, and Multimedia/index.html
Nutrino Edible Oil

Enjoy Nutricious Delite

About us
            
            
            
            
            
            
            
            Nutrino Edible Oil offers large verity of different nutricious and organic edible oils. Other...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here