| Level Navigation: Current Level: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 |
Goal: Create the basic project scaffold and confirm everything runs locally.
Before you start coding, you must work through the planning document:
๐ Planning For Chatbot Project
Complete all sections of the planning document before proceeding with Level 1. This will help you understand the project requirements, technical specifications, and success criteria.
Make a new folder for your project and create all the necessary files to get started.
chatbot-projectindex.htmlchatbot.jshelpers-full.js (download from class repository)secret-variables.js (to hold your Hugging Face API token; globals only)README.md (copy from EXAMPLE_README.md template).gitignore (copy from .gitignore template)secret-variables.js (starter template)// secret-variables.js
// Store secret keys or tokens here.
// โ ๏ธ Do not commit this file to a public repo.
HF_TOKEN = "your-huggingface-api-token-goes-here";
.gitignore (starter template)# Secret files (โ ๏ธ do not push secrets!)
secret-variables.js
Download helpers-full.js from the class repo:
https://github.com/rmccrear/codex-lv2-may-2025/tree/main/guides/week5-event-driven-apps/other-dev-files
Place it in your project folder before linking it in index.html.
Open your project folder in VS Code and verify you can see all 6 files:
index.htmlchatbot.jshelpers-full.jssecret-variables.jsREADME.md.gitignoreIf any files are missing, create them before moving to Level 2.
Next: Level 2 - Basic HTML Structure
| Level Navigation: Current Level: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 |