Skip to content

Faizal661/100-mini-projects

Repository files navigation

100 Mini HTML DOM Projects

100 creative project ideas to practice basic HTML, CSS, and JavaScript for manipulating the DOM and creating simple, interactive effects. Perfect for learning and experimenting with web development techniques.


1–10: Button Effects

  1. 🎉 Show a "Liked" emoji when clicking a button.
  2. ❤️ Generate a heart animation on button click.
  3. 🔄 Create a button that rotates 360° when clicked.
  4. ✨ Change button text and color on hover.
  5. 💧 Create a ripple effect when a button is clicked.
  6. 🤩 Show a random emoji when clicking a button.
  7. 📊 Animate a progress bar when clicking a button.
  8. 💥 Make a button that shakes on hover.
  9. 🎊 Add confetti animation on button click.
  10. ⏳ Show a loading spinner on button click for 2 seconds.

11–20: Mouse Interaction

  1. 🎯 Generate a circle at the mouse click position.
  2. 🐾 Create a trail of circles that follow the mouse cursor.
  3. 🌈 Change the background color on mouse hover over a specific area.
  4. ➡️ Animate a line following the cursor.
  5. 🖱️ Display the coordinates of the mouse in real time.
  6. 🔍 Create a magnifying glass effect around the cursor.
  7. 🎥 Animate an object to follow the cursor smoothly.
  8. ✏️ Draw shapes on the screen by clicking and dragging.
  9. 🎨 Change the cursor to custom icons on hover over specific elements.
  10. ✨ Add a particle effect that reacts to mouse movement.

21–30: Text Animations

  1. 📜 Animate text with a typewriter effect.
  2. 🌟 Make text fade in and out on hover.
  3. 🔤 Highlight individual letters on hover.
  4. 🎭 Animate words coming from different directions.
  5. 📝 Show a word-by-word reveal effect for a paragraph.
  6. 🔍 Make text expand and shrink on click.
  7. 🌊 Create a wave animation for text letters.
  8. 🌈 Implement a random color animation for text.
  9. 🏀 Create a bouncing text effect.
  10. 🔧 Add a glitch effect to text on hover.

31–40: Image Manipulations

  1. 🔍 Add a zoom-in effect to images on hover.
  2. 🌑 Create a grayscale to color transition effect on hover.
  3. 🔄 Rotate an image on click.
  4. 📸 Flip an image horizontally or vertically on button press.
  5. 📷 Add a Polaroid effect to an image on hover.
  6. 🎞️ Create an image slider with left/right arrows.
  7. 🌫️ Blur an image and remove the blur on hover.
  8. 🎨 Add a color filter to images using CSS.
  9. 🔄 Implement an infinite image carousel.
  10. 🎲 Display a random image from an array on button click.

41–50: Shapes and Animations

  1. 🏀 Create a bouncing ball animation.
  2. 🔄 Make a spinning square on hover.
  3. 🎨 Generate random shapes on click.
  4. 🔵 Create a pulsating circle animation.
  5. ⭐ Animate a star moving across the screen.
  6. 🌀 Draw a progress circle that fills on click.
  7. 🔁 Make a square rotate around a fixed point.
  8. 🔀 Add a zig-zag line animation.
  9. 🌊 Create a moving sine wave animation.
  10. 🎯 Animate expanding concentric circles.

51–60: Background Effects

  1. 🌈 Animate a gradient background color.
  2. 🌌 Create a parallax scrolling effect.
  3. ✨ Add a starscape background animation.
  4. ❄️ Implement a snowfall effect.
  5. ☁️ Animate a moving cloud background.
  6. 🌈 Create a rainbow gradient that changes dynamically.
  7. 💧 Add a water ripple effect to the background.
  8. 🎆 Implement a fireworks animation.
  9. 🌊 Add a scrolling wave animation in the background.
  10. 🎨 Make a background pattern generator with random shapes.

61–70: Form Enhancements

  1. 🔄 Animate input fields on focus.
  2. 📝 Show a tooltip when hovering over a form field.
  3. ✅ Validate an email address with instant feedback.
  4. 🔢 Create a dynamic character counter for text input.
  5. 🔽 Add a custom dropdown animation.
  6. 🔒 Create a password strength indicator.
  7. ☑️ Add an animated checkbox toggle effect.
  8. ➡️ Implement a multi-step form with animations.
  9. 🚨 Highlight invalid form fields with animations.
  10. 🔀 Add a sliding toggle switch animation.

71–80: Interactive Widgets

  1. ⏰ Create a clock with moving hands.
  2. ⏱️ Build a stopwatch with start, stop, and reset buttons.
  3. 🌙 Implement a light/dark mode toggle button.
  4. 📅 Create a dynamic calendar with CSS and JavaScript.
  5. ⭐ Build a star rating widget.
  6. 🎚️ Create a draggable slider to adjust a value.
  7. ✅ Make a to-do list with add/remove animations.
  8. 🔍 Build a search bar with an expanding animation.
  9. 💱 Create a currency converter with a dropdown.
  10. 🎨 Build a small color picker widget.

81–90: Games and Fun Interactions

  1. 🔢 Build a click counter that keeps track of clicks.
  2. ❌⭕ Create a simple tic-tac-toe game.
  3. 🎲 Make a dice roller that displays random dice faces.
  4. ✊✋✌️ Create a rock-paper-scissors game.
  5. 🃏 Build a simple memory card flip game.
  6. 🎈 Make a balloon-popping game on click.
  7. 🛠️ Create a Whack-a-Mole game.
  8. 🔍 Build a "Find the Difference" puzzle game.
  9. 🕒 Implement a reaction time tester.
  10. 🧩 Create a maze game where the user navigates a square.

91–100: Miscellaneous Fun Ideas

  1. 📊 Add a progress bar that fills as the user scrolls down.
  2. 💡 Create a light bulb that turns on and off with a button.
  3. ⌨️ Implement a "typing speed" tester.
  4. 🔲 Make a draggable, resizable box.
  5. 🎹 Create a simple virtual piano with keypress sounds.
  6. 🌦️ Build a weather widget that displays dummy data.
  7. 🚀 Animate a rocket launching into the sky.
  8. 🐠 Add a fish tank with swimming fish.
  9. 👀 Create a "follow me" effect with animated eyes.
  10. 🎉 Make a "Happy Birthday" animation with balloons and text.

Implemented Mini-Projects

1. Liked Emoji Button

This project demonstrates a common social media interaction: clicking a "Like" button on a post triggers a visual confirmation, in this case, a "❤️" emoji appearing over the post's image.

  • Functionality:
    • Clicking the "Like" button toggles its state (Like/Liked).
    • When liked, a heart emoji briefly appears and fades over the post image.
  • Collection: This is project #1 from the "100 Mini Projects" collection.
  • Access: You can view this project by navigating to /project/1.

About

Practice and understand the DOM, events, animations, and interactivity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •