How to create a modal with HTML, CSS & JS - Part 1: HTML

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

BeginnerUI8 min

About this video

Kevin Powell writes the HTML for a portfolio modal that opens when a portfolio item is clicked. It is the first part of a four-part series that goes on to cover CSS, JavaScript and animation.

What you’ll learn

  • Write the HTML structure for a modal window
  • Prepare markup that later CSS and JavaScript will style and control