Back

Shubham

Fearlessย โ€ขย 8h

๐Ÿš€ 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
1

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ย โ€ขย 2d

๐Ÿš€ 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ย โ€ขย 1d

๐Ÿš€ 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...ย โ€ขย 1m

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

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...ย โ€ขย 1m

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
Image Description
Image Description

Account Deleted

Hey I am on Medialย โ€ขย 3m

Nikita Bier costs $10k for a hour long advisory session - hereโ€™s a free ChatGPT prompt for assessing the virality of your app instead: Analyze my appโ€™s current UX, UI, and social architecture through the lens of engineered virality, meme-driven dis

See More
7 Replies
46
34

Yogesh Jamdade

.....ย โ€ขย 1y

NumPy 2.0: A Game Changer (Released June 2024) NumPy 2.0, released in June 2024, is a major update for scientific computing in Python. Here's what's exciting: Variable-length strings: Finally! Store and manipulate text data with ease using new `Str

See More
Reply
15

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