How ngockhanh21/css-forest works
CSS Forest is a browser-based interactive CSS learning platform. Learners choose a lesson from the curriculum, edit HTML/CSS in an isolated preview, submit work for automated checking, and earn progress and plant rewards. The README also describes a selector speedrun, certificate export, sharing, and forest ambience. The graph reflects documented capabilities; unsampled wiring is omitted rather than inferred.
Main entry points: app.js App controller · index.html App shell · sandbox.js Live editor preview · plants.js Plant illustrations
Components 16
Learning path
- App controller
js/app.js - Lesson navigation
js/app.js - Progress tracking
js/app.js - Work sharing
js/app.js
Practice and feedback
- Live editor preview
js/sandbox.js - Lesson auto-grader
js/app.js - Code quality meter
js/sandbox.js
Rewards and games
- Plant illustrations
js/plants.js - Garden certificate
js/app.js - Selector speedrun
js/speedrun.js
Forest experience
- Forest audio
js/ambience.js - Theme and weather
css/style.css
Application shell and content
- App shell
index.html - Interface styles
css/style.css - Lesson curriculum
data/curriculum.json
Other components
- Learner
Connections 15
- Learner → App shell: opens
README.md - App shell → App controller: hosts
README.md - App shell → Interface styles: uses styles
README.md - App controller → Lesson curriculum: loads lessons
README.md - App controller → Lesson navigation: renders lessons
js/app.js - App controller → Progress tracking: restores progress
js/app.js - App controller → Work sharing: shares work
js/app.js - App controller → Live editor preview: initializes preview
js/app.js - App controller → Lesson auto-grader: checks lesson
js/app.js - App controller → Code quality meter: analyzes CSS
js/app.js - App controller → Plant illustrations: uses illustrations
js/app.js - App controller → Garden certificate: draws certificate
js/app.js - App shell → Selector speedrun: provides game
README.md - App controller → Forest audio: creates ambience
js/app.js - Learner → Theme and weather: changes display
README.md