🚀 JavaScript Practice: Prime Numbers from 1 to 100 Here's a simple yet classic logic-building problem — finding all prime numbers between 1 and 100 using JavaScript. Key learnings from this program: ✅ Nested loops usage ✅ Logical thinking with condition checks ✅ Introduction to algorithmic problem-solving 💡 Tech Used: JavaScript 👨💻 Concept: Prime Number Detection #JavaScript #Coding #100DaysOfCode #SoftwareEngineer #LearningInPublic #LogicBuilding #FrontendDevelopment
How to Find Prime Numbers with JavaScript
More Relevant Posts
-
🚀 Starting My JavaScript Revision Journey! Body: Yesterday, I went back to the basics of JavaScript to strengthen my foundation. Here’s what I revised: 🟡 Variables — var, let, and const and when to use them 🟡 Scope — Global variables (accessible everywhere) — Local variables (accessible within a function/block) 🟡 Data Types — Primitive: string, number, boolean, null, undefined, symbol, bigint — Non-Primitive: objects, arrays, functions It’s amazing how revisiting fundamentals clears a lot of confusion! What JavaScript concept took you time to understand when starting out? #JavaScript #BackendDevelopment #LearningJourney #Coding
To view or add a comment, sign in
-
🎯 Day 1 — Deep Dive into JavaScript Fundamentals Today I started my journey to strengthen the core of JavaScript, and it’s amazing how much depth lies behind the basics! 🚀 Here’s what I learned today: 🧩 Primitive vs Reference Types 🧠 typeof Operator Behavior ⚖️ Difference Between null and undefined 🪄 var vs let vs const and Variable Hoisting ⛔ Temporal Dead Zone (TDZ) 📦 Block Scope vs Function Scope 🔄 Implicit vs Explicit Type Conversion ✅ Truthy and Falsy Values 🔍 Comparison Operators & Type Coercion 🔧 Object to Primitive Conversion (valueOf, toString) 👇 Understanding this in Different Contexts: Global Context Object Methods Constructor Functions Arrow Functions Event Handlers Explicit & Implicit Bindings new Keyword Every topic connected like a puzzle — learning how JavaScript really works behind the scenes makes it even more exciting to code. 💻 #JavaScript #WebDevelopment #Day1 #LearningJourney #Frontend #Coding
To view or add a comment, sign in
-
“Boost your JavaScript skills with this clean and minimal guide to essential string methods! 📚✨ Learn how to manipulate and work with strings in JavaScript using practical examples for each method. Perfect for beginners and seasoned developers alike. Save and share to keep these tips handy! #JavaScript #Coding #WebDevelopment #ProgrammingTips”
To view or add a comment, sign in
-
-
🧠 JavaScript Concepts I Explored Today Today was a solid learning session — I spent time understanding how functions actually shape the logic in JavaScript. Here’s what I went through 👇 Functions and how they make code reusable First-class and higher-order functions (functions inside functions 🔁) Closures — the part where JS “remembers” variables even after execution IIFE — functions that run instantly (good for isolated scopes) Arrays — map, filter, reduce, forEach Objects — destructuring, looping, optional chaining These concepts connected so many dots for me. The more I write JavaScript, the more I realize how expressive it can be when you actually understand the “why” behind the syntax. #JavaScript #CodingJourney #WebDevelopment #Frontend #MERNStack
To view or add a comment, sign in
-
💻✨ Practicing JavaScript Arrays! Today, I explored one of the most important topics in JavaScript — Arrays. From creating arrays to applying methods like push(), pop(), shift(), unshift(), map(), and filter(), I learned how powerful arrays can be in managing and manipulating data efficiently. 🧠 Key Concepts I practiced: Creating and accessing array elements Iterating through arrays using loops Using built-in methods for transformation Understanding how arrays make data handling easier in JavaScript Every small step in coding adds up to big progress! 🚀 #JavaScript #WebDevelopment #CodingJourney #LearningByDoing #FrontendDevelopment #JSArrays #WomenInTech #PracticeAndProgress
To view or add a comment, sign in
-
-
🚀 Day 80 of #100DaysOfCode Today I learned about object literals in JavaScript. Object literals are a simple way to store data as key-value pairs inside curly braces. This makes it easy to organize related information and lets you access values using property names. Object literals are great for creating flexible and readable code. #JavaScript #ObjectLiterals #Learning #100DaysOfCode
To view or add a comment, sign in
-
-
💻 Day 3 of #100DaysOfCode > 🚀 Today I learned about JavaScript Loops — one of the most powerful concepts for repeating tasks! 🔁 The 5 main types of loops in JavaScript: 1️⃣ for loop 2️⃣ while loop 3️⃣ do...while loop 4️⃣ for...of loop 5️⃣ for...in loop 💡 Loops make our code efficient and clean by reducing repetition. #100DaysOfCode #JavaScript #WebDevelopment #CodingJourney #FullStackDeveloper
To view or add a comment, sign in
-
-
🚀 New Video in our DSA in JavaScript Series! In this video, we continue our Stack chapter 📚 — and solve two very popular stack problems in JavaScript 💻 You’ll learn step-by-step how to: ✅ Reverse a String using Stack ✅ Check for Balanced Parentheses (Brackets) Both are beginner-friendly but super important problems to understand how LIFO (Last In, First Out) works in real coding examples ⚙️ We’ll go through the full logic + code explanation and dry run everything inside VS Code 👇 💡 You’ll clearly understand: How Stack helps in Reversal & Matching problems Real use of push() and pop() How LIFO principle solves both questions Step-by-step dry run examples 🎥 Watch here → https://lnkd.in/etXYgrSp 📌 Watch the complete DSA in JavaScript playlist here: https://lnkd.in/g2qrGaSH 📂 Download the PPT for this topic here: https://lnkd.in/eejEhC3j #dsa #dsainjavascript #javascript #stack #datastructures #codingtutorial #dsaforbeginners #jdcodebase #javascriptdsa #stacktutorial
Stack Problems Part-1 in JavaScript | DSA Explained with Example | JDCodebase
https://www.youtube.com/
To view or add a comment, sign in
-
🚀 Day 1 of My 30 Days of JavaScript Challenge 🧩 Problem: Create Hello World Function (LeetCode #2667) Write a function createHelloWorld that returns a new function which always returns "Hello World", no matter what arguments are passed. 💻 Language: JavaScript ❓ Question: https://lnkd.in/eVgQ9W87 💡Solution:https://lnkd.in/ed7AXEYr 🧠 Concept Used: JavaScript closures and higher-order functions Demonstrates how a function can return another function 📚 Takeaway: A simple yet powerful reminder that understanding function behavior and scope is key in JavaScript. Every small step builds stronger fundamentals! #JavaScript #LeetCode #30DaysOfCode #CodingChallenge #WebDevelopment #FrontendDevelopment #100DaysOfCode
To view or add a comment, sign in
-
JavaScript Unique Magic: Hoisting Definition: Hoisting in JavaScript means moving all variable and function declarations to the top of their scope before the code runs. This allows you to use a function or variable even before it is written in the code. Why It Happens: JavaScript interpreter reads the entire code first and sets up memory for all variables and functions. That why you can access them before their actual line of code appears. Uses: 1) Helps in calling functions before they are defined. 2) Makes code organization flexible. Problems: 1) Can cause confusion for beginners. 2) Variables declared with var become undefined if used before declaration. 3) let and const declarations cause an error if used too early #JavaScriptMagic #CodingTips #LearnJS #FrontendFun #ProgrammingLife #JSBeginners #WebDev #TypeScript #CodeSmart #DeveloperCommunity
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