codex-lv2-may-2025

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


๐Ÿงช Level 1: Project Setup - Create Files

Goal: Create the basic project scaffold and confirm everything runs locally.


๐Ÿ“‹ IMPORTANT: Complete Planning First!

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.


What Youโ€™ll Do

Make a new folder for your project and create all the necessary files to get started.

Instructions

๐Ÿ“„ 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

โ„น Third-Party File Info

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.

โœ… Check

Open your project folder in VS Code and verify you can see all 6 files:

If 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