Monday morning kicked off Week 2, and the focus shifted completely from backend terminals to frontend web design. Until now, all our chatbot outputs were printing inside a boring black command prompt. Today, we started building a real visual interface.

1. The Skeleton and the Skin: HTML & CSS

We went over the basics: HTML gives your page structure (the chat window container, message history box, text input, and send button). CSS gives it style. We built custom chat bubbles—aligning the user's messages to the right in a nice accent color, and the bot's replies to the left in a sleek dark gray.

2. Making it Look Great on Phones

Most people view websites on their phones, so we made sure the layout was responsive using flexbox. We set maximum widths on the chat bubbles so long paragraphs don't stretch awkwardly across the whole monitor, and made sure the text input sticks cleanly to the bottom.

3. The SagarAI Demo

During practice time, while others were still wrestling with basic tags, I showed one of my classmates a custom bot I had built called 'SagarAI'. It was funny, smooth, and programmed to reply with witty, charming answers that treated the user like a princess. She was genuinely blushing and had a blast testing it out. It was a fun reminder that software isn't just about code—it's about how it makes someone feel when they use it.

Key Learnings

  • Structuring web page elements cleanly with semantic HTML tags.
  • Styling modern chat bubbles with CSS flexbox and border-radius tricks.
  • Ensuring web layouts adapt smoothly to mobile and desktop screen sizes.
  • Understanding that great UI and personality make technology feel magical.

Tools & Stack

  • HTML5
  • CSS3
  • VS Code
  • SagarAI

Challenges Overcome

  • Getting the chat container to scroll smoothly without the input bar jumping around.
  • Keeping message bubbles aligned properly when text lengths vary wildly.

Task to be Performed

  • Build an HTML skeleton with chat header, message list, input box, and send button.
  • Apply CSS styles for a sleek dark mode theme with distinct user and bot message bubbles.
  • Test responsive breakpoints across mobile and desktop viewport sizes.

Related Logs

Day 00

Day 00: Onboarding, Orientation, and the 2-Week AI Roadmap

Walking into Virtual Height for day zero: getting our badges, meeting our lead mentors, and mapping out what we will build over the next two weeks.

May 29, 2026 • 4 min readRead Log ➔
Day 01

Day 01: First Day as an AI Intern, Python Basics, and a Wild Flex

Day 1 kicks off with lead mentor Rashmi. We break down AI vs ML vs Deep Learning, test Python terminal scripts, and demo my custom chatbot to the room.

Jun 01, 2026 • 4 min readRead Log ➔