Back

Shubham

Fearless • 1d

Day 09/21 – JavaScript Classes & Objects Today I explored Classes & Objects in JavaScript – the building blocks of Object-Oriented Programming (OOP). 🚀 🔹 Objects = collections of data & methods 🔹 Classes = blueprints to create objects Example: // Class class Car { constructor(brand, year) { this.brand = brand; this.year = year; } details() { return `${this.brand} was made in ${this.year}`; } } // Object let myCar = new Car("Tesla", 2023); console.log(myCar.details()); // Output: Tesla was made in 2023 👉 Objects store real-world entities 👉 Classes make object creation clean & reusable This concept helps build structured & scalable apps ✨ #21DayJavaScript #JavaScript #WebDevelopment #LearnInPublic #CodingJourney

Reply
8

More like this

Recommendations from Medial

Shubham

Fearless • 6d

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 • 10d

🚀 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

Shubham

Fearless • 8d

🚀 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

See More
Reply
2

Shubham

Fearless • 7d

🚀 Day 4/21 – My JavaScript Learning Journey Today’s focus: Arrays in JavaScript 📦 An Array is a special object in JS used to store multiple values in a single variable. 🔹 Creating Arrays let fruits = ["Apple", "Banana", "Mango"]; 🔹 Common Me

See More
Reply
3

Aryan Nagori

 • 

Siddhrans Technologies • 1m

🚀 Advanced Java Course Progress: Week 2 Completed! Thrilled to share my progress on GeeksforGeeks - Advanced Java course! Week 2 was all about bringing OOP concepts to life: 🔹 Classes & Objects → Building blocks of my code 🔹 Encapsulation → Kee

See More
Reply
1
Image Description

Lone Wolf

Founder • 7m

India’s EV market is booming, but it’s still a long road ahead: 📌 1.5M+ EVs sold in 2023, but only ~6% of them were passenger cars. 📌 Tata Motors dominates with 80%+ market share, while MG, Mahindra & BYD are scaling fast. 📌 Charging infra? Still

See More
1 Reply
1
9
Image Description
Image Description

Inactive

AprameyaAI • 1y

An RTI query revealed that 38 IITians from the Class of 2024 are yet to secure placements. 🔹 Unplaced Graduates: Around 38% of students across 23 IITs remain unplaced this year. 🔹 Rising Numbers: Over 7,000 IIT students have not secured jobs, mar

See More
14 Replies
2
7
Image Description
Image Description

Havish Gupta

Figuring Out • 1y

In 2022, Tesla's alone market cap was more than the next ten car companies combined, while Tesla sold only ~1% of the total cars in the world. So, how did Tesla become so valuable? Firstly because of the hype and it's future plans and secondly due

See More
8 Replies
1
21
Image Description
Image Description

Arcane

Hey, I'm on Medial • 1y

ONE INTERESTING OBSERVATION SERIES DAY #20 India's childcare product spending is still in its early stages. In 2023, it was only around ₹9,280-9,350 per child. But that's expected to grow 14% every year from 2023 to 2028 - way faster than mature m

See More
10 Replies
2
14

Sanskar

Keen Learner and Exp... • 1m

Day 12 of learning python as a beginner. Topic: object oriented programming (OOP). Yesterday I shared a journal taking app and many people suggested that it would be great if I used classes. Initially I was not aware of what classes actually are an

See More
Reply
2

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