How to code a carousel with HTML, CSS and JavaScript - from scratch (part 1)

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerUI23 min

About this video

A from-scratch tutorial on building a carousel, or slider, for a website, starting with the HTML structure and CSS styling that the next video will extend with JavaScript.

What you’ll learn

  • Structure a carousel with semantic HTML markup
  • Style a carousel layout with CSS
  • Prepare the markup that JavaScript will control in the next part