Back

Shubham

Fearless • 1m

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 • 1m

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 • 1m

🚀 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 • 1m

🚀 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 • 1m

🚀 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 • 3m

🚀 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 • 8m

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

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

Vishu Bheda

 • 

Medial • 9m

Elon Musk exposed the biggest lie in marketing: “You need ads to scale.” Tesla has sold millions of cars without spending a penny on “ads”. Here’s how Musk made Tesla a $800B brand without buying a single ad: Tesla doesn’t spend on traditional ad

See More
8 Replies
5
19
Image Description
Image Description

Thakur Ambuj Singh

Entrepreneur & Creat... • 12m

🌍 Electric Car Sales Surge Worldwide! ⚡🚗 The transition to electric vehicles (EVs) is accelerating across the globe, and these numbers show some impressive growth projections: 🔹 India: Leading the charge with a projected 39% growth EV sales are

See More
12 Replies
5
19
Image Description
Image Description

Vishu Bheda

 • 

Medial • 11m

In 2015, Apple set out to revolutionize the automobile industry. $10 billion spent. A self-driving future promised. Planned to beat Tesla. But instead of changing the world, they crashed. Here’s the wild story of how Apple’s boldest gamble became

See More
17 Replies
3
24

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