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
Jul 23, 2026 · 4:01 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
Jul 22, 2026 · 12:35 PM
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
Jul 21, 2026 · 11:15 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
Jul 20, 2026 · 8:18 AM
Worked on context management — the bot now carries conversation history across messages. Also added input validation and basic error handling.
Day 3
Jul 18, 2026 · 9:18 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
Jul 17, 2026 · 10:27 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
Jul 17, 2026 · 9:47 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!