Skip to content

Cavery34/week2-homework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

week2HWJune2021

Weekend Assignment Due Monday, July 5th, 12 pm PST

BARE MINIMUM REQUIREMENTS

  • As long as you create animated carousel as was demonstrated on Tuesday and you create a javascript carousel that you can change images by clicking next or previous buttons you have reached our skillset benchmark for week 2.

For a challenge, try implementing any or all of the bullets below

  • Use an external style sheet instead of internal or inline
  • Import the external js file instead of a script tag
  • Center the carousel window in the middle of screen using margin or flex
  • Use position absolute and position relative to move the buttons inside of the window div for users to click
  • If you do not use the above, center the buttons underneathe the center carousel window
  • Add some conditional logic to your javascript code to prevent users from translating the imageSlider too far in either direction
  • Add console logs to see what your current position is any time the prevImage or nextImage functions are invoked
  • Automate your js carousel with setTimeout, and make it move forwards then backwards once it renders the last image on the screen (see video)

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages