🚀 Day 5/30 – Tip Calculator Continuing my 30 Days JavaScript Projects Challenge. Today I built a Tip Calculator using HTML, CSS, and JavaScript. This project calculates the tip amount, total bill, and how much each person needs to pay when splitting the bill. 💡 Features: • Calculate tip instantly • Split bill among multiple people • Simple and clean UI 🛠 Tech Stack HTML | CSS | JavaScript 🌐 Live Demo https://lnkd.in/gFUy8h3t 💻 GitHub Repository https://lnkd.in/gZRUXmyr Through this project I practiced DOM manipulation, user input handling, and JavaScript calculations. 25 more projects to go 🚀 #javascript #webdevelopment #codingjourney #30daysofcode #mernstack #github
More Relevant Posts
-
I just spent the entire weekend digging into the JavaScript Event Loop and I'm still reeling from what I learned 🚀 This post is about how the JavaScript Event Loop actually works under the hood, and what that means for our code. I've always known that JavaScript is single-threaded, but it wasn't until I dove deeper that I realized just how much the Event Loop does to make our code seem multi-threaded. The way it handles asynchronous tasks, like timeouts and intervals, is actually pretty genius. It's all about queuing up tasks and executing them one at a time, while still allowing the browser to respond to user input. One of the most interesting things I learned is how the Event Loop interacts with the browser's rendering engine. It's a delicate balance between executing our code and keeping the UI responsive. If our code takes too long to execute, the browser can become unresponsive, which is why it's so important to keep our functions short and sweet. This is especially important when working with large datasets or complex computations. 🔍 The key insight here is that understanding the Event Loop is crucial to writing efficient and responsive code. So, how do you handle complex computations in your code, and what strategies do you use to keep your functions short and sweet? #javascript #eventloop #webdevelopment
To view or add a comment, sign in
-
Just built a fun and interactive Quote Generator using HTML, CSS, and JavaScript! With a single click, it brings up inspiring quotes — a simple idea but a great way to practice real-world JavaScript concepts like event handling and API integration. Always learning, always building 🚀 🚀 Here check my GitHub repo: 🔗 🚀 Day 13 of #100DaysOfCode #WebDev #JavaScript #FrontendDevelopment
To view or add a comment, sign in
-
🚀 Web Development Journey - JavaScript Day 6 Today was all about going deeper into how JavaScript creates and manages objects behind the scenes. Here’s what I learned: 🔹 Constructor Functions Creating multiple object instances efficiently. 🔹 Prototypes & Prototype Inheritance Understanding how JavaScript shares properties and methods across objects. 🔹 Changing Prototype Values Exploring how modifying prototypes affects all instances. 🔹 Object Destructuring Extracting values from objects in a cleaner, more readable way. This session really helped me understand how JavaScript works under the hood when dealing with objects. Next up: Object Literal Syntax Extensions (ES6) 🔥 #WebDevelopment #JavaScript #100DaysOfCode #LearningInPublic #FrontendDevelopment
To view or add a comment, sign in
-
-
Day 2 of 30 Days of JavaScript.....#Javascript30 Continuing the challenge, today I built a CSS + JavaScript powered clock ⏰ This project helped me understand how real-time updates work using JavaScript and how styling plays a major role in creating smooth UI experiences. 🔹 Key things I learned today: • Working with Date object in JavaScript • Using setInterval for real-time updates • Understanding CSS transformations (rotate, transform-origin) • Syncing logic with UI (seconds, minutes, hours hands) It was interesting to see how a simple concept like a clock can actually strengthen fundamentals in both JavaScript and CSS. Staying consistent and building one project at a time 🚀 #JavaScript #WebDevelopment #LearningInPublic #Frontend #CodingJourney #Javascript30
To view or add a comment, sign in
-
🚀 JavaScript Practice Project – Form Submission Today I practiced handling form submission using JavaScript. Instead of letting the page reload, I used event.preventDefault() and collected the input values from the form. 🔹 Created a form with fields like Full Name and Password 🔹 Captured the data when the form is submitted 🔹 Stored the form data inside a JavaScript object 🔹 Displayed the object in the console This helped me understand: ✔️ DOM manipulation ✔️ Form validation basics ✔️ Creating and storing data using objects in JavaScript Small steps like these are helping me strengthen my JavaScript fundamentals and move closer to building real-world web applications. #JavaScript #WebDevelopment #FrontendDevelopment #LearningJourney #CodingPractice
To view or add a comment, sign in
-
⚡ Understanding the JavaScript Event Loop (Simplified) One concept that helped me understand JavaScript much better is the Event Loop. JavaScript is single-threaded, but it can still handle asynchronous operations like API calls, timers, and promises. How? Because of the Event Loop. In simple terms: 1️⃣ JavaScript executes synchronous code first (Call Stack). 2️⃣ Async tasks like setTimeout or API requests go to Web APIs. 3️⃣ Once completed, they move to the Callback Queue. 4️⃣ The Event Loop checks if the call stack is empty and pushes callbacks back for execution. This is why code like this works: console.log("Start"); setTimeout(() => { console.log("Async Task"); }, 0); console.log("End"); Output: Start End Async Task Even with 0 delay, async tasks wait until the call stack is empty. 💬 When did you first learn about the Event Loop? #JavaScript #WebDevelopment #FrontendDevelopment #AsyncProgramming
To view or add a comment, sign in
-
🚀 Web Development Journey - JavaScript Day 2 Continuing my JavaScript journey today, I deepened my understanding of the core fundamentals that power the language. Here’s what I worked on: • Variables and declarations (var, let, const) • Identifiers and naming rules • Case sensitivity in JavaScript • Scope (global, function, and block scope) • Data types • Operators • Concatenation • Operator precedence & associativity Revisiting and practicing these basics is helping me build a solid foundation before moving into more complex concepts. Progress might seem small, but consistency is everything. #WebDevelopment #JavaScript #100DaysOfCode #LearningInPublic #FrontendDevelopment
To view or add a comment, sign in
-
-
🧠 Why does some JavaScript run instantly… and some runs later? Because JavaScript can be synchronous and asynchronous. 🔹 Synchronous JavaScript - JavaScript runs one line at a time. - Each task waits for the previous one to finish. Example: console.log("Start"); console.log("Middle"); console.log("End"); Output: Start → Middle → End ✅ Simple ❌ Can block execution 🔹 Asynchronous JavaScript - Some tasks don’t block execution. - They run in the background and return later. Example: console.log("Start"); setTimeout(() => { console.log("Async Task"); }, 2000); console.log("End"); Output: Start → End → Async Task 🔹 Why Async Exists Without async: - APIs would freeze the app - Timers would block everything - UI would become unresponsive 💡 Key Idea JavaScript is single-threaded, but it handles async using Web APIs + Call Stack + Event Loop (We’ll cover this next 👀) 🚀 Takeaway - Sync = step-by-step execution - Async = non-blocking execution Both are essential for real-world apps Next post: Event Loop Explained Simply 🔥 #JavaScript #AsyncJS #Frontend #WebDevelopment #LearnJS #Programming #LearningInPublic
To view or add a comment, sign in
-
-
never thought the JavaScript Event Loop could be this simple — if it’s explained the right way. 🚀 Day 5 of my Web Development Journey Today I learned about the JavaScript Event Loop with my mentor Devendra Dhote. Key concepts covered: • How the Event Loop works in JavaScript • Call Stack, Microtasks, and Macrotasks • How JavaScript prioritizes asynchronous tasks • Working of Promises and handlers like .then() and .catch() Today’s learning was less about writing code and more about understanding how JavaScript actually works behind the scenes. 💪 #WebDevelopment #BuildInPublic #JavaScript #Kodex
To view or add a comment, sign in
-
-
Today I practiced a small JavaScript program to change the background color when a button is clicked. When the button is pressed, JavaScript triggers a function that changes the page’s background color using DOM manipulation. This helped me understand: ✔ Event handling ✔ onclick function ✔ DOM manipulation ✔ How JavaScript interacts with HTML & CSS Small practice, better understanding 🚀 #JavaScript #WebDevelopment #Frontend #CodingPractice #LearningJourney
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