Today’s task is both fun and practical: we’ll be building a fruit-catching game using just HTML, CSS, and JavaScript. This mini-project is perfect for beginners who want to strengthen their JavaScript skills while enjoying an interactive experience.

welcome to day 25 of our coding with ai challenge!

Project Overview

In this game, the player controls a basket that can move left and right across the screen. Random fruits fall from the top, and the goal is to catch them before they hit the ground. If the player misses a certain number of fruits, the game ends.

This project is a fantastic way to:

  • Practice DOM manipulation
  • Learn keyboard event handling
  • Implement collision detection
  • Add basic game logic and scoring

Task for the Day

Task: Create a working fruit-catching game.
Prompt: “Write code for a fruit-catching game where the player moves a basket left and right to catch falling fruits. The game ends when the player misses a certain number of fruits.”
Action: Run the completed code on CodePen, and share the live demo link on Facebook and LinkedIn to showcase your progress.

Check The Game By click on this link

Why This Game is Useful

  • Enhances JavaScript fundamentals
  • Improves your CSS styling skills
  • Helps you think about game mechanics like scoring, speed, and difficulty levels
  • A great portfolio project to show employers or clients

Final Thoughts

This fruit-catching game is more than just a coding exercise it’s a way to combine learning with fun. By the end of this task, you’ll have a fully working game that you can share online, impress your peers with, and even expand further by adding features like levels, sound effects, or multiple fruit types.

👉 Don’t forget to upload your CodePen link and share your achievement on Facebook and LinkedIn to inspire others on their coding journey!

🔑 SEO Keywords included naturally:
fruit catching game in JavaScript, HTML CSS JavaScript projects, beginner JavaScript games, CodePen JavaScript game, JavaScript DOM practice.






Fruit Catching Game

Score: 0 | Missed: 0

Game Over!

Day: 25


Task:
Write the code for a fruit-catching game using HTML, CSS, and
JavaScript.
Prompt: “Write code for a fruit-catching game where the player moves a
basket left and right to catch falling fruits. The game ends when the player
misses a certain number of fruits.”
Action: Run the code on CodePen and post the link on Facebook and LinkedIn.

image
image

Monthly Report Overview

The monthly report highlights various tasks completed and their respective scoring system. Each task is assessed based on a scoring criterion, possible frequency, and total possible score.

Tasks Included in the Report:

  1. Calculator Game
    • Score Per Task: 02
    • Possible Frequency: 02
    • Possible Score: 04
  2. Tic-Tac-Toe Game
    • Score Per Task: 02
    • Possible Frequency: 02
    • Possible Score: 04
  3. To-Do List App
    • Score Per Task: 02
    • Possible Frequency: 02
    • Possible Score: 04
  4. Quiz Game
    • Score Per Task: 02
    • Possible Frequency: 02
    • Possible Score: 04
  5. Weather App
    • Score Per Task: 02
    • Possible Frequency: 02
    • Possible Score: 04
  6. Currency Converter App
    • Score Per Task: 02
    • Possible Frequency: 02
    • Possible Score: 04
  7. Simple Stopwatch App
    • Score Per Task: 02
    • Possible Frequency: 02
    • Possible Score: 04
  8. Simple Alarm Clock App
    • Score Per Task: 02
    • Possible Frequency: 02
    • Possible Score: 04
  9. Simple Calendar App
    • Score Per Task: 02
    • Possible Frequency: 02
    • Possible Score: 04
  10. Simple Reminder App
    • Score Per Task: 02
    • Possible Frequency: 02
    • Possible Score: 04
  11. Rock, Paper, Scissors Game
    • Score Per Task: 02
    • Possible Frequency: 01
    • Possible Score: 02
  12. Memory Card Game
    • Score Per Task: 02
    • Possible Frequency: 01
    • Possible Score: 02
  13. Fruit Catching Game
    • Score Per Task: 02
    • Possible Frequency: 01
    • Possible Score: 02

Summary of Scores

  • Total Score Per Task: 50
  • Total Possible Frequency: 23
  • Total Possible Score: 46

Conclusion

This report reflects consistent productivity and engagement with a wide variety of development tasks, ranging from utility apps like weather, calendar, and reminder apps to engaging games like Tic-Tac-Toe, Quiz, and Memory Card games. The structured scoring system helps track performance and highlights the scope of activities carried out during the month.

Congratulations on completing this workbook! You’ve successfully taken your first big step into the fascinating world of coding and artificial intelligence. With dedication and creativity, you’ve explored how AI tools like Claude.ai can simplify problem-solving, while also gaining hands-on coding practice with ChatGPT. From building fun games to developing practical apps, you’ve proven that with focus and imagination, ideas can be transformed into reality.

Over the past month, this workbook has guided you through the fundamentals of game development and programming in an engaging and easy-to-learn manner. Starting from simple AI-powered apps to writing your own projects in HTML, CSS, and JavaScript, you’ve shown that curiosity and persistence are the real keys to success. These skills are only the foundation—the beginning of an exciting journey in the fast-growing world of technology.

coding with ai last

Remember: coding isn’t just about syntax or lines of code. It’s about problem-solving, creativity, and innovation. Every project you build improves your ability to think logically and create meaningful solutions. By completing this workbook, you’ve established a strong base for future learning and experimentation.

Every successful developer began with small, consistent steps—just like the ones you’ve taken here. Continue to practice, experiment, and never stop learning. The tech industry evolves rapidly, and with the skills you’ve built, you’re already a part of this transformation.

The possibilities in coding and AI are endless. The knowledge you’ve gained today will help shape your tomorrow. Stay curious, keep building, and most importantly, enjoy the process.

Thank you for being part of this journey. I’m excited to see the incredible apps, games, and solutions you will create in the future.

Happy coding, and keep innovating!

Abrar Shafique