Day 5 of Learning JavaScript 🚀 Today I learned about if / else statements. They allow programs to make decisions. Example: if (age >= 18) { console.log("You can vote") } Programming is really about solving problems using logic. #javascript #frontenddeveloper
Learning JavaScript: If Else Statements
More Relevant Posts
-
🚀 Level Up Your JavaScript Skills with 10 Powerful One‑Liners! Whether you're optimizing your workflow, cleaning up code, or just love writing elegant snippets, these JavaScript one‑liners can save you time and boost your productivity. From array manipulation to generating random numbers — a few lines can do a lot more than you think! ✨ 💡 Perfect for beginners exploring modern JavaScript and pros who enjoy writing clean, efficient code. #JavaScript #WebDevelopment #FrontendDevelopment #Coding #Programming
To view or add a comment, sign in
-
-
30 Days JavaScript Challenge: Day 18 ✅ Today’s problem was about implementing a debounce function. The idea is simple but very useful delay the execution of a function, and if it gets called again within that delay, cancel the previous call and restart the timer. This concept is widely used in real-world scenarios like: • search input optimization • reducing unnecessary API calls • handling rapid user events It was a great exercise to understand how timers and function control work together in JavaScript. 18 days in getting more comfortable with concepts that are actually used in real applications. 💻🚀 #javascript #leetcode #webdevelopment #frontenddeveloper #codingchallenge #learninginpublic #developers #programming #buildinpublic
To view or add a comment, sign in
-
-
Revisiting a simple but powerful JavaScript concept today: map() map() allows us to transform each element of an array and return a new array. Example: doubling numbers in an array. Small concepts like these form the foundation of writing cleaner and more functional JavaScript code. #JavaScript #WebDevelopment #FrontendDevelopment #Programming #CodingJourney #LearningInPublic
To view or add a comment, sign in
-
-
Day 6 of Learning JavaScript 💻 Today I practiced functions. Functions allow us to reuse code. Example: function greet() { console.log("Hello") } Functions make programs cleaner and easier to manage. #javascript #frontenddeveloper
To view or add a comment, sign in
-
I just published my first blog on Dev.to! I wrote about the current value of JavaScript in 2026 and why it’s still one of the most important skills for developers. I’m still early in my learning journey, so I’d really appreciate any feedback or suggestions 🙌 Here’s the blog: https://lnkd.in/gqQkh-3a #JavaScript #WebDevelopment #LearningInPublic #Programming
To view or add a comment, sign in
-
DAY 7 AS A FRONTEND DEVELOPER I focused on learning about variables in JavaScript. Variables are used to store data so it can be used later in a program. They are one of the most important foundations when learning programming. In JavaScript, there are three ways to declare variables: let : used when the value might change const : used when the value should not change var : the older way of declaring variables I am growing, learning and improving every day. #FrontendDevelopment #Day7 #LearningJourney #20DaysLinkedInChallenge #GirlsInTech9.0 #AfricaAgilityFoundation
To view or add a comment, sign in
-
-
30 Days JavaScript Challenge : Day 24 ✅ Today’s problem was about sorting an array using a custom function. Instead of directly sorting values, we use a function fn to decide the order — basically telling JavaScript how to compare elements. At first it feels simple, but it actually shows how powerful sorting can be when you control the logic: Sorting objects based on a property Sorting nested arrays Custom ranking based on conditions It’s one of those concepts that looks basic but is used everywhere in real projects. Slowly getting more clarity on how to write flexible and reusable logic in JavaScript. #javascript #leetcode #webdevelopment #frontenddeveloper #codingchallenge #learninginpublic #developers #programming #buildinpublic
To view or add a comment, sign in
-
-
TypeScript vs JavaScript in 2026. Learn the real differences with side-by-side code examples, performance facts, and a clear guide on which language to choose for your next project. https://lnkd.in/gTCf2hRj #programming #languages #typescript #javascript #vs #difference #project
To view or add a comment, sign in
-
-
🚨 JavaScript Objects vs Classes — Still Confusing? If you’ve ever struggled with this… you’re not alone. 😅 Most developers think: 👉 Classes = OOP 👉 Objects = Instances But in JavaScript, things work a bit differently… 💡 Reality: Objects are the core of JavaScript (everything revolves around them) Classes are just a clean syntax (ES6) to create objects more easily Under the hood, JavaScript is still prototype-based, not class-based 👉 That’s why confusion happens. Object = Real data (actual thing) Class = Blueprint (structure/template) ⚡ The biggest mistake beginners make: Trying to learn JavaScript like Java or C++ 👉 But JavaScript has its own way of thinking. 🎥 I explained everything clearly in this video: https://lnkd.in/dw7Z5HCN 💬 Be honest… Did "objects vs classes" confuse you when you started? 😄 #JavaScript #WebDevelopment #Coding #Programming #Frontend #NodeJS #ReactJS #Developers #LearnToCode #CodingLife #Tech #SoftwareDevelopment #JavaScriptTips #FullStack #DeveloperCommunity
JavaScript Objects vs Classes Explained | OOP JavaScript Tutorial
https://www.youtube.com/
To view or add a comment, sign in
-
30 Days JavaScript Challenge : Day 20 ✅ Today’s problem was about checking whether a given object or array is empty. At first glance, it looks very simply, but it makes you think about how data structures actually store values whether it’s checking keys in an object or elements in an array. Also tried to think about how this can be done efficiently, even aiming for O(1) time complexity. Problems like these remind me that even basic concepts can have deeper layers when you try to implement them properly. 20 days in consistency is building up, one problem at a time. 💻🚀 #javascript #leetcode #webdevelopment #frontenddeveloper #codingchallenge #learninginpublic #developers #programming #buildinpublic
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