Complete Responsive Ecommerce Website with HTML CSS & JavaScript

Last Updated on October 1st, 2021 by Codevo
complete ecommerce website with html css and javascript

In this blog, you will learn how to create a complete e-commerce website with HTML, CSS and JAVASCRIPT step by step.

In my previous blog post, we created a responsive portfolio website with HTML, CSS and JAVASCRIPT.

If you haven't checked it then do so because it contains a lot of golden tricks about CSS.

I have already posted blogs on how to create an e-commerce website with HTML, CSS & JavaScript but I haven't created an e-commerce website with Product Image Zoom Effect.

If you haven't created any website before with HTML and CSS before don't panic because am going to guide you step by step so that you also get the same result as mine.

Real quick, you can also convert this ecommerce website template to a dynamic ecommerce website using React, NodeJs and MongoDB. You can check out this video for an intro.

Features of this Ecommerce Website

  • Responsive Navigation Bar with toggle effect
  • Responsive Carousel with Glidejs
  • Categories Section
  • New Arrival Products Section
  • Contact Section
  • Footer
  • Responsive PopUp
  • Product Page with Pagination and Sorting
  • Product Details Page with Image Zoom Effect
  • Cart Page
  • Responsive Login Page
  • Responsive SignUp Page

Download images here if you want to code along

You might Like this:

  1. Responsive Portfolio Website
  2. Responsive Ecommerce Website
  3. Website with Video Background

Video Of Ecommerce Website

In the video, you’ve seen the Complete Responsive Ecommerce Website and I hope you’ve understood the chunks of codes of this ecommerce design.

I tried my best to make this video understandable for beginners and also I showed every output of the code in the video. If this video has been helpful for you, don’t forget to like, subscribe and leave a comment.

If you couldn't follow along in the video or maybe it was a little confusing then scroll to the bottom of this article where you will find a download button.

Click on the download button and wait for 60s while the download link if been prepared for you. When the link is ready click on it to automatically download the zip file.

Unzip the downloaded file and wala you have the full source code. Also, if you like this design and would what to use it in your next project then feel free to modify it in your own ways.


<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Boxicons -->
<!-- Glide js -->
<!-- Custom StyleSheet -->
<link rel="stylesheet" href="./css/styles.css" />
<title>ecommerce Website</title>
<script src=""></script>
<script src="./js/slider.js"></script>
<script src="./js/index.js"></script>


/* Fonts */
@import url(";300;400;500;700&display=swap");
/* Color Variables */
:root {
--white: #fff;
--black: #222;
--green: #6cbe02;
--grey1: #f0f0f0;
--grey2: #e9d7d3;
/* Basic Reset */
*::after {
margin: 0;
padding: 0;
box-sizing: inherit;
html {
box-sizing: border-box;
font-size: 62.5%;
body {
font-family: "Roboto", sans-serif;
font-size: 1.6rem;
background-color: var(--white);
color: var(--black);
font-weight: 400;
font-style: normal;
a {
text-decoration: none;
color: var(--black);
li {
list-style: none;
.container {
max-width: 114rem;
margin: 0 auto;
padding: 0 3rem;
.d-flex {
display: flex;
align-items: center;

Github link

Download Code Files


NAZMUS SAKIBJuly 3rd, 2021


AIESH BAHADURJuly 4th, 2021

This Is Amazing Website Well Designed Very Responsive Very Informative I must spend a while finding out information more or working out more. Thank you for wonderful info I was in search of this info for my self Thanks To Website Owner From My Side.. Let Me Entertainment you : Come On

HakiJuly 2nd, 2021

Oh what is the best work. God bless you sir and help you in all your projects. You help me

MikeOctober 8th, 2021

Eres un Crack, excelente contenido.

AIESH BAHADURJuly 1st, 2021

Sir Amazing Guide Thanks For Providing Us Damo For Website Thanks for Giving Us ALL HTML-CSS- Code. Writer :

mr.xAugust 12th, 2021

bohot khoob