top of page

rohanghugari

Favicon.png
photoshop file copy.webp

Coding a responsive e-commerce website for coffee and tea mugs

My role

Front-end developer

Team member

Harshit Agarwal

Duration

3.5 weeks

Tools used

image 3.png

Languages used

image 1.png
image 2.png
image 5.png
image 4.png

Overview

We coded a pre-designed responsive e-commerce website for selling coffee and tea mugs using HTML, CSS and Javascript. The site is fully responsive, ensuring smooth performance on all devices. We also connected forms, text-fields, and other inputs to the backend using PHP for dynamic data handling and submission.

Key features

Added breakpoints for tablet and mobiles phone using media query for seamless responsiveness.

Brkpnt for tablet.webp
Brkpnt for phone.webp

Added micro interactions like hover effect using CSS.

Hover code.webp
Computer.webp

This is the complete flow on the computer which showcases hover effect when the cursor is on the product image. While filling the customer details I added maximum character limit to the card number, expiration date and the CVV.

max char limit.png

This is the same complete flow on the mobile which showcases that the navbar is now a hamburger menu. The hamburger icon only appears after the screen size becomes less than 991px.

hamburger html.webp
hamburger css.webp

Takeaways

Learnings

This project helped me improve my skills in coding a responsive website using HTML, CSS and JavaScript. I learned how to make sure the website works well on different devices, providing a smooth user experience. Connecting the forms and text fields to the backend using PHP gave me valuable experience in handling data and making the site interactive.

Conclusion

Overall, this project taught me the importance of clean code and creating websites that are both easy to use and responsive.

bottom of page