Challenge Completed!
Aarav Sharma finished this 7-day challenge with 7 logs and a 7-day streak.
Build AI Chatbot for Website
Create a chatbot using OpenAI API and deploy on a landing page
Progress — 7/7 days logged
Daily Logs
Day 7
Apr 30, 2026 · 3:21 AM
Final day — added typing indicators, rate limiting, and a fallback message when the API is down. It's live on my landing page! Really happy with how this turned out.
Day 6
Apr 29, 2026 · 11:55 AM
Deployed to Vercel. Ran into a CORS issue that took an hour to debug. Also added streaming responses so replies appear word by word.
Day 5
Apr 28, 2026 · 10:34 AM
Styled the widget to be embeddable. Created a floating button in the corner that opens a chat panel. Looks pretty clean actually.
Day 4
Apr 27, 2026 · 7:38 AM
Worked on context management — the bot now carries conversation history across messages. Also added input validation and basic error handling.
Day 3
Apr 25, 2026 · 8:37 PM
Integrated GPT-4o mini via the API. First successful conversation worked like magic. Experimented with system prompts to set the chatbot tone.
Need help with:
API is returning 429 errors and I can't figure out the rate limiting issue. Will try again tomorrow.
This is making me want to start my own challenge on here.
Day 2
Apr 24, 2026 · 9:47 PM
Built the chat interface — simple HTML/CSS with a message bubble layout. Added local message history so conversations persist in the session.
Day 1
Apr 24, 2026 · 9:07 AM
Spent the morning reading OpenAI API docs. Set up a fresh Node.js project with Express and got my API key configured. Exciting start!