AI Website Chatbot: Customize and Deploy with Python & JavaScript

AI Website Chatbot: Customize and Deploy with Python & JavaScript

AI Website Chatbot: Customize and Deploy with Python & JavaScript

Ages 13–16 · Beginner · Live online group, up to 20 kids · $24.98 per class

Next class: Wed, Dec 2 · 8:00 AM US Eastern. Full refund if the first class isn't the right fit.

This hands-on class guides students through improving a prebuilt chatbot’s responses using Python concepts (TF-IDF, n-grams simplified), building a Gradio interface, deploying on Hugging Face, and hosting a website via GitHub Pages with a JavaScript iframe embed. The course focuses on practical deployment and iterative testing rather than building models from scratch.

Class Experience

In this hands-on coding course, students take a prebuilt AI chatbot and make it their own. They learn how the chatbot reads user input and chooses responses using simplified ideas like word counting, n-grams and TF-IDF, then edit its canned answers and add new topics and intents.

Students wrap the chatbot in a Gradio interface, deploy it on Hugging Face for a live link, build a simple website on GitHub Pages and embed the chatbot with a JavaScript iframe. The focus is on practical deployment and testing, not building AI models from scratch, and students finish with a working website chatbot to share.

How classes work

This is a 16-week live course that meets once a week. Each class introduces one step of the project, demonstrates it live and gives students time to make the change on their own copy, test it and ask questions before moving on.

What we'll cover

  • Class 1: Installing Python and Course Tools – Install Python and a code editor, set up a working folder and run a first short Python script.

  • Class 2: Creating a GitHub Account and Repository – Create a GitHub account, make a first repository and learn how to upload and save project files.

  • Class 3: Tour of the Final Project Structure – Review how the chatbot, interface, deployment and website fit together so the whole project makes sense from the start.

  • Class 4: Running the Prebuilt Chatbot – Run the prebuilt chatbot locally, chat with it and record which questions it answers well or poorly.

  • Class 5: Tracing Input to Response – Follow the code path from user input to chatbot reply, adding print statements to see each step.

  • Class 6: Word Counting and N-grams Made Simple – Learn how text is split into words and short word groups, and see how n-grams help match phrases.

  • Class 7: TF-IDF: Finding Important Words – Explore a simplified TF-IDF idea to see how the chatbot decides which words matter most in a question.

  • Class 8: Editing Canned Responses – Rewrite the chatbot's existing answers to match a chosen theme or personality and test the changes.

  • Class 9: Adding New Topics and Intents – Add new conversation topics with example questions and answers, then test that the chatbot picks them up.

  • Class 10: Building a Gradio Interface – Wrap the chatbot in a simple Gradio chat interface and customize its title, description and examples.

  • Class 11: Deploying to Hugging Face Spaces – Upload the chatbot to Hugging Face Spaces, fix any setup errors and get a shareable live link.

  • Class 12: Building a Site with GitHub Pages – Create a simple website with HTML and publish it with GitHub Pages so it has a public address.

  • Class 13: Embedding the Chatbot with a JavaScript Iframe – Use JavaScript and an iframe to embed the deployed chatbot on the website and adjust its size and placement.

  • Class 14: Testing the Full Website Chatbot – Test the website chatbot with real questions, fix weak answers and polish the page layout.

  • Class 15: Final Improvements and Peer Testing – Swap links with classmates, collect feedback on chatbot answers and make final improvements.

  • Class 16: Project Showcase – Present the finished website chatbot, explain one customization in the code and share the live link.

Learning Outcomes

  • Bullet point

    Improve and customize a prebuilt AI chatbot using Python and understand its response generation

  • Bullet point

    Deploy and share a chatbot using platforms like Hugging Face and GitHub Pages

  • Bullet point

    Integrate a working chatbot into a website using a JavaScript iframe

  • Bullet point

    Explain how word counting, n-grams and a simplified TF-IDF help the chatbot match questions

  • Bullet point

    Edit canned responses and add new topics and intents, then test the results

  • Bullet point

    Build a Gradio chat interface with a custom title, description and examples

  • Bullet point

    Gather peer feedback and present a finished website chatbot with a live link

Prerequisites

Students should be comfortable typing and managing files on a computer; some prior experience with any coding language is helpful but not required. Have a Windows or Mac computer ready with permission to install Python and create free GitHub and Hugging Face accounts.

What You'll Need

Supplies
NotebookPencil
Software
GRADIOHUGGING_FACEPYTHONJAVASCRIPT
Device and internet
Computer (Windows or Mac)Stable internet connectionPython 3Code editor such as VS CodeFree GitHub and Hugging Face accounts
Websites
GitHub Pages

Students use a notebook and pencil to jot down code ideas, new chatbot topics and test results between classes.

Syllabus

16 Lessons

A step-by-step plan of what your child learns, class by class. · 16 Weeks

Installing Python and Course Tools

Install Python and a code editor, set up a working folder and run a first short Python script. This setup is used for all later chatbot work.

Creating a GitHub Account and Repository

Create a GitHub account, make a first repository and learn how to upload and save project files. GitHub later hosts the website through GitHub Pages.

Tour of the Final Project Structure

Review how the chatbot, interface, deployment and website fit together so the whole project makes sense from the start. Each part is built in later lessons.

Testing the Full Website Chatbot

Test the website chatbot with real questions, fix weak answers and polish the page layout. Fixes may return to the topics and responses edited earlier.

Final Improvements and Peer Testing

Swap links with classmates, collect feedback on chatbot answers and make final improvements. Feedback prepares each project for the showcase.

Project Showcase

Present the finished website chatbot, explain one customization in the code and share the live link. This showcase closes the course.

Available Times

Next 7 days, US Eastern Time

  • Wed, Dec 2 · 8:00 AM
  • Wed, Dec 2 · 11:00 AM
  • Wed, Dec 2 · 12:00 PM
  • Thu, Dec 3 · 1:00 PM
  • Thu, Dec 3 · 4:00 PM
  • Fri, Dec 4 · 11:00 AM
  • Fri, Dec 4 · 1:00 PM
  • Sat, Dec 5 · 10:00 AM
  • Sun, Dec 6 · 9:00 AM
  • Mon, Dec 7 · 11:00 AM
  • Mon, Dec 7 · 1:00 PM
  • Mon, Dec 7 · 5:00 PM

Parents Often Ask

Some prior experience with any coding language is helpful but not required. Students should be comfortable typing and managing files on a computer. It's for ages 13 to 16, with a flexible range.

A Windows or Mac computer with permission to install Python 3 and a code editor such as VS Code, plus free GitHub and Hugging Face accounts.

No. Students start with a prebuilt chatbot and make it their own. The focus is practical deployment and testing, not building AI models from scratch.

Students learn simplified ideas like word counting, n-grams and TF-IDF to trace how the chatbot reads input and chooses responses, then edit its canned answers and add new topics and intents.

A working website chatbot to share: the chatbot is wrapped in a Gradio interface, deployed on Hugging Face Spaces for a live link, and embedded with a JavaScript iframe on a GitHub Pages website.

It runs 16 weeks with one 35-minute class each week, starting with installing Python and course tools and ending with testing the full website chatbot. There's no homework and no certificate.

A missed class still counts as used. For illness or emergencies, contact support, who review each case. To stop, cancel from the class in your parent dashboard.

Meet your Instructor

Joined August, 2026

12+

Years

A Senior QA Automation Engineer with strong experience in software testing, automation and AI/ML frameworks, this educator brings practical tech skills into the classroom. Has 12+ years working with children as a coding instructor and mentor, focusing on hands-on web development, basic cybersecurity, HTML/CSS/JavaScript and AI-assisted projects. Lessons emphasize real-world application, interactive projects and clear explanations that demystify coding concepts while nurturing curiosity and problem-solving. Classes aim to equip young learners with skills they can apply to personal projects and schoolwork.

Advanced Machine Learning Projects in Python

Advanced

Level

14–17

Ages

75 min

Duration

1 / Week

Classes

8

Weeks

$28.00per class
See schedule
Weekly Teen AI Builders Club: Advanced Projects
Club

Weekly Teen AI Builders Club: Advanced Projects

Advanced

Level

13–17

Ages

75 min

Duration

1 / Week

Classes

Ongoing

Weeks

$27.00per class
See schedule

Winter Term AI Builders Bootcamp: 10-Week Advanced Track

Advanced

Level

13–17

Ages

75 min

Duration

1 / Week

Classes

10

Weeks

$29.00per class
See schedule

Code a Stargazing App with Python

Beginner

Level

13–16

Ages

50 min

Duration

1 / Week

Classes

10

Weeks

$21.50per class
See schedule

Code a Mars Rover Mission Camp

Beginner

Level

11–14

Ages

50 min

Duration

3 / Week

Classes

2

Weeks

$20.50per class
See schedule
Minecraft Coding Club: Weekly Projects for Beginners
Club

Minecraft Coding Club: Weekly Projects for Beginners

Beginner

Level

7–10

Ages

55 min

Duration

1 / Week

Classes

Ongoing

Weeks

$18.00per class
See schedule

Python Turtle: Build a Turtle Racing Game

Beginner

Level

10–13

Ages

55 min

Duration

1 / Week

Classes

1

Weeks

$21.50per class
See schedule

Python Game Design Level 3: Build a Multi-Level Adventure

Intermediate

Level

11–13

Ages

55 min

Duration

1 / Week

Classes

8

Weeks

$22.00per class
See schedule