Logo
Published on

Creating a Card Component using HTML, CSS, and Javascript

Authors

Introduction

Last December 2023, I recently joined a class from Filipino Web Development Peers on Discord hosted by a mentor who is 15 year old but already expert on HTML, CSS, Javascript!

A task was given to us where have to make a component of a Checkout Card Component. The UI is inspired from Figma Community by Softwareseni and Wirak S. https://www.figma.com/community/file/1158585574208802327/checkout-page

Screenshot of live solution

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Javascript

What I learned

  • Dropdown
  • Buttons with javascript
  • Gradient div

Continued development

  • :bulb: Animation for the Checkout Button
  • :bulb: Add more product items using API
  • :bulb: Responsive Mobile Page
  • :bulb: Make it a reusable component!

Useful resources