Skip to content

An interactive website focused on the chameleon, designed to help users learn interesting facts about this unique animal. Dive into a colorful experience where you can control and watch the chameleon change its colors in real time.

Notifications You must be signed in to change notification settings

xen0r-star/The-Zoo

Repository files navigation

🐾 The Zoo - Chameleon 🐾

SvelteKit HackaTime Badge License Status

Chameleon

The Zoo is an interactive webpage about the chameleon (the best animal on earth), built with SvelteKit for the YSWS Hack Club Zoo. It covers information about it and includes an interactive page where you can play with it at the end of the reading.

🗂️ Table of Contents
  1. 📌 Requirements
  2. ✨ Information about the chameleon
  3. 🦎 Interactive elements
  4. 🎨 Figma Design
  5. 📸 Screenshots
  6. 🛠️ Technologies
  7. 🥚 Easter Eggs
  8. 🏆 Credits

📌 Requirements

  • Main requirements:
    • 8+ hours of coding
    • Site coded with SvelteKit and statically hosted on GitHub Pages
    • Theme around the best animal (the chameleon of course)
    • Include the Zoo Banner component everywhere
    • Include the README.md file with a description
    • Information panel [5/3]
    • Information panel uses $state and $derived
    • Unlock a button after reading all facts
    • Earn mynts
  • Bonus requirements:
    • Extra hours (8h + 27h = 35h)
    • Use of svelte:head in +layout.svelte
    • Animal conservation status according to IUCN
    • The facts panel is fully dynamic
    • Use of $effect on the main page and the interactive page
    • Presence of easter eggs (3/3)
    • Site 100% responsive ON ALL DEVICES (except Apple Watch)

(back to top)


✨ Information about the chameleon

Main page

On the main page, the user takes a short journey through the trees, discovers several sections with detailed information (basics, camouflage and tongue, endangered status), checks an interactive information panel offering fun and educational facts about the chameleon, and can unlock the “Meet Chameleon” button after reading all the facts.

(back to top)


🦎 Interactive elements

Interactive page

My interactive page is a simple game where the user must click on flies to score points before the chameleon catches them, just like a real chameleon would do to feed.

External stimulus

  • Clicks on the chameleon: Clicking the chameleon triggers a color change—be careful not to click too many times.
  • Mouse movements: The chameleon’s eye follows the user’s cursor.

Internal stimulus

  • Time: The sky color changes dynamically according to the real time.
  • Flies: It automatically catches the flies.
  • Randomness: The chameleon sometimes makes a mistake and attacks the mouse cursor instead of the fly.
  • Daytime life: The chameleon has a higher chance of hitting the fly from 8 a.m. to 8 p.m.
  • Speech: The chameleon makes random comments depending on the situation (win/lose/pause).

(back to top)


🎨 Figma Design

The design of this project was created in Figma.
👉 See the Figma here

(back to top)


📸 Screenshots

(back to top)


🥚 Easter Eggs

  • 💚 Clicking the green chameleon in the tree will trigger a cute animation for his sweetheart in the tree opposite
  • 🏪 A nice ASCII art hidden in the webpage’s source code
  • 🖌️ The barcode leads to the best GitHub account

(back to top)


🛠️ Technologies

  • Svelte
  • TypeScript
  • Vite

(back to top)


🏆 Credits

(back to top)


🖤💛❤️ Made by a Belgian 🖤💛❤️

About

An interactive website focused on the chameleon, designed to help users learn interesting facts about this unique animal. Dive into a colorful experience where you can control and watch the chameleon change its colors in real time.

Topics

Resources

Stars

Watchers

Forks