Back

Shubham

Fearless • 21d

🚀 Day 3/21 – My JavaScript Learning Journey Today I explored two core concepts: Loops & Strings. 🔹 Loops in JavaScript for → classic loop with index. while → runs until a condition is true. do...while → executes at least once. for...of → best for iterating over arrays/strings. for...in → used for object keys. 🔹 String Methods .length → get string size. .slice(start, end) → extract part of a string. .toUpperCase() / .toLowerCase() .includes("text") → check substring. 💡 Example: let str = "JavaScript"; for (let char of str) { console.log(char); } ✨ Every loop is a different tool — the trick is knowing which one to use when. ❓Which loop do you use the most in your projects? #21DayJavaScript #JavaScript #Coding #WebDevelopment #LearningJourney

Reply
2

More like this

Recommendations from Medial

sai akhilesh

Student @Geethanjali... • 1y

🚀 Dive into the world of JavaScript Loops with our comprehensive tutorial! Whether you're just starting out or looking to brush up on your skills, this video is perfect for you. 🔍 What's Inside? ➡ For Loops: Learn how to efficiently repeat action

See More
Reply
2

Sagar gupta

Full-time Freelancer... • 1y

Most Javascript Questions Asked in Interview | PART 2 1. What is difference between a for loop and for Each loop Ans: A for loop is traditional loop that uses a counter variable to iterate over an array. ForEach loop is a method that iterate over a

See More
Reply
3
10

Shubham

Fearless • 23d

🚀 Day 1/21 – My JavaScript Learning Journey I’ve started my 21-day challenge to learn and share JavaScript daily. 🔹 Today’s focus: Basics, Variables, and Data Types Variables: var, let, const (different scopes & usage). Data Types: 7 primitive

See More
Reply
2
Image Description

Rohit Gupta

Aspiring Web Develop... • 1y

#day29 of #100DaysOfCode #100daysofcodechallenge Today I make TO-DO App using JavaScript. I use while and for loops also if and else if condition.. For adding and deleting from list I use prompt Command.... #Javascript #Connect #Connections #tech

1 Reply
10

Shubham

Fearless • 22d

🚀 Day 2 of 21 – JavaScript Learning Journey Topic: Operations & Conditional Statements 🔹 Operations in JavaScript Arithmetic: + - * / % Assignment: = += -= Comparison: == === != > < >= <= Logical: && || ! 🔹 Conditional Statements // if sta

See More
1 Reply
1
16

Sanskar

Keen Learner and Exp... • 2m

Day 3 of learning python as a beginner. Topic: Loops Loops are of two types: for loop and while loop. For loop is used when: 1. you know how many times you have to repeat, in my case I know I have to repeat it 10 times to get a full multiplication

See More
Reply
2

Shubham

Fearless • 19d

Day 05/21 – JavaScript Functions & Methods Today I explored one of the most powerful concepts in JavaScript: Functions & Methods. 🚀 🔹 Functions are blocks of code designed to perform a specific task. They help in reusability and make code cleaner

See More
Reply
1

Shubham

Fearless • 4d

Day 11/21 – JavaScript API Calls 🌐 Today I explored how to fetch data from APIs in JavaScript using async/await. Copy code Javascript async function getUsers() { try { let response = await fetch("https://jsonplaceholder.typicode.com/users");

See More
Reply
2

Sheikh Ayan

Founder of VistaSec:... • 6m

🔍 Top Programming Languages & Tools for Exploit Development & Reverse Engineering 🛠️ 🚀 Top Programming Languages 🔹 C & C++ – Low-level access, memory manipulation 🔹 Assembly (x86, x64, ARM) – Essential for understanding binaries 🔹 Python – Sc

See More
Reply
2

Sanskar

Keen Learner and Exp... • 2m

Day 9 of learning python as a beginner. Topic: string slicing and manuplating. Strings are immutable i.e. they cannot be changed or modified however we can create a new string using the old one. Strings are made up of letters which can be indexted

See More
Reply
5

Download the medial app to read full posts, comements and news.