Add a body selector and set the following: Set the font family to sans-serif. Add a class called text-center and set it to align text to the center. Create an id called slideshow: Set the margin to 80px (up/down) and auto (left/right). Set the position to relative. Set the height and width to 240px. Set the padding to 10px. set the box shadow with the following:

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

CSS


Add a body selector and set the following:
Set the font family to sans-serif.
Add a class called text-center and set it to align text to the center.
Create an id called slideshow:
Set the margin to 80px (up/down) and auto (left/right).
Set the position to relative.
Set the height and width to 240px.
Set the padding to 10px.
set the box shadow with the following:
height offset: 0
vertical offset: 0
blur: 20px
color: rgba color of black with an opacity of 0.4 (HINT: Make sure to apply the opacity to the box-shadow, not the image.)
Create another id of slideshow with a child of div:
Set the position to absolute.
Set the top, left, right, and bottom to 10px.

 

HTML


At the top of your HTML page, create an h1 tag with a class of text-center. The content of that h1 tag should say Lesson 11 Project.
In the body of your HTML, create the following:
Create a div with an id of slideshow.
Inside that id, create 3 div tags.
Inside each div tag, add an img tag.
Go to the web and find 3 images that are 240px by 240px.
In each image tag, add one of your found images.

 

 

JavaScript

  1. Using the jQuery selector, set your slideshow with a child of div to a gt selector of 0. (If you need a refresher on using selectors in jQuery, review jQuery Selectors(opens in a new tab).)
    1. Apply the hide method to it.
  2. Then create a setInterval method and inside it, add an anonymous function.
  3. Set the function to locate the id for slideshow and its children. Use the "first" pseudo class to get the first one.
  4. Apply the fadeOut method at 1000 ms.
  5. Apply the next().
  6. Apply the fadeIn method at 1000 ms.
  7. Apply the end() method.
  8. Apply the appendTo method with an id of slideshow.
  9. Set the interval time to 3000.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Hyperlinks
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education