This is a submission for the MLH x DEV Writing Challenge
I Built a Design Studio Ordering Page in a Single HTML File
Most small design studios take orders over chat and email, which means a lot of back-and-forth. I wanted one page where a customer could pick a service, describe the project, upload references and pay, all in one place. This is how I built it and what I learned.
What the page does
- Customers choose one or more services: logo, presentation, graphic design or AI chatbot. They can set quantities with + and − buttons.
- The order form asks for name, Gmail, country, target date, a project brief, and optional reference files.
- Uploads go to Cloudinary, with up to 20 files and about 25 MB in total.
- Payment goes through a Razorpay payment page.
- Order details are emailed using EmailJS and Google Apps Script.
How I built it
The whole site is one HTML file, with the CSS and JavaScript inside it, so there is no build step. The fonts are Playfair Display, Cormorant Garamond and Montserrat, with a dark background and purple and gold accents. The site is hosted on Netlify. The "Our Work" section lets visitors tap a project to see it bigger.
Demo
https://ourstudio5.netlify.app/
The hardest part
Uploads worked most of the time, but sometimes they failed after the site went live on Netlify. The cause was netlify's server. I fixed it by trying to upload it again after some time .
What I learned
- Anything in a public HTML file is visible to visitors, so only use public keys in the front end.
- Think through the whole customer journey, from choosing a service to receiving the final files.
- Keep the form short. Every extra field is a reason for someone to leave.
Honest note
The 13 portfolio projects are concept pieces I made to show my style. They are not client work.
Built with HTML, CSS and JavaScript, plus Netlify, Razorpay, Cloudinary and EmailJS.
Top comments (0)