🚀 Day 11 of My Web Development Journey Today, I built an interactive “Avoid the Box” mouse game using HTML, CSS, and JavaScript. 🎮 The concept is simple but fun: Avoid touching the moving box with your cursor while the timer counts down! Sounds easy… but it gets harder as the box keeps shrinking 😄 💡 What I implemented in this project: Dynamic DOM manipulation Event handling using mouseenter Random positioning logic for smooth gameplay Timer and score tracking system Sound effects for better user experience Game over logic with restart functionality 📚 Key Learnings: Understanding how user interactions (mouse events) can be used to create real-time engaging experiences. Also improved my logic-building skills by adding difficulty progression (shrinking box). 🔗 Live Demo: https://lnkd.in/gASyevmH 🔗 Source Code: https://lnkd.in/g2z6YyAS This project helped me realize how small ideas can turn into addictive mini-games with just core JavaScript. 👉 What should I build next? Suggestions are welcome! #Day11 #WebDevelopment #JavaScript #Frontend #30DaysOfCode #CodingJourney #MiniProject #GameDev
More Relevant Posts
-
I've been experimenting with custom route transitions to make navigating between pages feel a bit more native and alive. To build this, I used Next.js and next-transition-router to handle the actual page rendering logic, custom SVGs for the wave layers, and GSAP to animate the sweeps. Getting the animations to sync perfectly with the route changes took a bit of fine-tuning, but the final result makes the whole site feel much more cohesive. I've opened up the source code for anyone who wants to check it out. You're welcome to refer to the logic or just copy the setup straight into your own builds: https://lnkd.in/gM7GDChZ #nextjs #gsap #frontenddevelopment #webdevelopment #reactjs #uiengineering #webanimation #javascript #frontend #css #softwareengineering
To view or add a comment, sign in
-
Have you ever wondered how websites get those smooth, interactive animations so quickly? 💻✨ In today's video, we are looking at jQuery, a foundational JavaScript library. It takes complex, multi-line coding tasks and simplifies them into a single line. While we love our massive modern frameworks, here is why jQuery still has a place in our toolkit at Noori Digital: ⚡️ Lightweight Speed: Perfect for simple, high-converting landing pages that don't need heavy frameworks. 🔄 Cross-Browser Reliability: It guarantees your interactive features work perfectly on every single browser. 🛠️ Legacy Support: It allows us to step in and efficiently upgrade older, existing business systems. We don't over-engineer. We use the right tools to deliver the best results for your specific business needs. 🚀 #nooridigital #jquery #javascript #webdevelopment #softwareengineering #coding #digitalagency #techstack #kathmandutech
To view or add a comment, sign in
-
Exploring 3D on the web — implemented a scroll-based interaction where elements respond dynamically to user movement. Built using JavaScript, Three.js, and Sketchfab integration to create a smooth and interactive experience. Check it out: https://lnkd.in/geSieFS8 #WebDevelopment #ThreeJS #JavaScript #FrontendDevelopment #3DWeb #CreativeCoding #UIUX”
To view or add a comment, sign in
-
Frontend looks easy… until it really isn’t 😅 At first, it feels like: “Just some HTML, CSS, and a bit of JavaScript… should be straightforward.” Then you start building 👇 • Pixel-perfect design 🎯 That tiny 2px difference? Yeah… it suddenly matters more than you expected. • Cross-browser issues 🌐 Everything looks perfect on Chrome… Then Safari humbles you real quick. • Mobile responsiveness 📱 A clean desktop layout can turn into a completely different story on smaller screens. • That one CSS bug 🐛 You fix one thing… and somehow three new issues show up. • And then come animations ✨ Modern UIs almost expect them now. But getting them right? • Smooth timing • Natural feel • Good performance That’s where things get interesting (and sometimes frustrating). Frontend isn’t just about making things look good — It’s about creating an experience that feels right across every screen, browser, and interaction. And honestly, that challenge is what makes it worth it 🚀 #frontend #webdevelopment #javascript #animation #uiux #developerlife
To view or add a comment, sign in
-
💡 How do you implement dark mode in your projects? I recently built a simple dark/light mode toggle using CSS variables and JavaScript in my portfolio. In this carousel, I’m sharing the exact steps I used. Sometimes, small features like this make a huge difference in user experience. 🔗 Check out my portfolio here: https://lnkd.in/d5PJ_nj8 Curious to know 👇 How do you handle theming in your projects? #WebDevelopment #JavaScript #CSS #Frontend #UIUX #DevCommunity #Jameskamz
To view or add a comment, sign in
-
Just built a QR Code Generator using HTML, CSS, and JavaScript 💻✨ This small project helped me strengthen my understanding of core frontend concepts. 🔥 What I learned from this project: ✔ DOM manipulation in JavaScript ✔ Handling user input dynamically ✔ Working with APIs (QR Code generation API) ✔ CSS Flexbox for layout design ✔ Responsive design using media queries ✔ Button interactions and UI effects Github: https://lnkd.in/dUNqSDrs 💡 Key takeaway: Small projects teach the biggest lessons. Every bug I faced made me understand JavaScript and better than before. 🎯 Features of this project: Generate QR Code from text or URL Instant preview of QR code Simple and clean UI Responsive design for all devices I’m still learning and improving step by step, and this is one of many projects in my journey. 💬 I’d love feedback or suggestions from developers! #HTML #CSS #JavaScript #WebDevelopment #Frontend #GitHub #LearningInPublic #100DaysOfCode
To view or add a comment, sign in
-
Strong frontend skills begin with mastering the DOM. From selecting elements to dynamically changing content, styles, and creating new components, JavaScript DOM manipulation serves as the foundation for interactive web experiences. A quick DOM Essentials visual has been created for easy revision and practical understanding. This is a valuable resource for anyone learning JavaScript and Web Development. Which DOM method do you use the most in your projects
To view or add a comment, sign in
-
-
A visual guide on React component useEffect lifecycle. How components mount and re-render in React and their relation with the useEffect hook is one of the most important concepts in React. To summarize, 1. When first-time components are inserted in the DOM, they're referred to as "mounted," then updated via rendering, and later "unmounted." 2. While mounting, a component initializes. 3. In the render stage, a virtual DOM gets created and compared, and in the commit stage, it gets painted to the browser. 4. Any effect gets executed during the commit. If the state changes, the component re-renders with vDOM creation during rendering, painting, and attaching to real DOM during the commit phase. Would you be interested in learning React/JavaScript with visuals and to-the-point explanations of how things work under the hood? I do a deep dive into foundational concepts & how things work under the hood. You can consider connecting with or following me, Ali Raza, to get along with the journey. Thanks. #react #javascript #frontend
To view or add a comment, sign in
-
Just shipped my new portfolio — built from scratch with Next.js 15, TypeScript, Tailwind CSS, and Framer Motion 🚀 Took it from a 3,000-line static HTML file to a proper component-driven Next.js app over a weekend. Server-side email handling, custom domain, fully responsive, dark/light mode — the whole package. A few things I picked up along the way: • Data separation matters — moving content to typed config files made everything 10x easier • Animation libraries (Framer Motion) beat hand-rolled CSS keyframes for maintainability • Proper architecture > clever tricks • Ship > perfect — iterate after going live Live: usamazafar.me #WebDevelopment #NextJS #TypeScript #Portfolio #SoftwareEngineering #FullStackDeveloper
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development