Back

Shubham

Fearlessย โ€ขย 8d

๐Ÿš€ Day 08/21 โ€“ JavaScript Events Sorry for the 1-day gap ๐Ÿ™, but back on track with my 21-day JavaScript learning journey Today I learned about Events โ€“ actions that happen in the browser (clicks, key presses, scrolls, etc.), which we can capture and respond to using JavaScript. Example: // Select button let btn = document.getElementById("myBtn"); // Add event listener btn.addEventListener("click", () => { alert("Button Clicked!"); }); ๐Ÿ‘‰ Events bring interactivity ๐Ÿ‘‰ addEventListener is the modern way to handle them ๐Ÿ‘‰ You can listen to clicks, keydowns, mouse moves, and more! Events make web apps dynamic & user-friendly โœจ #21JavaScript #JavaScript #WebDevelopment #CodingJourney #LearnInPublic

Reply
1
10

More like this

Recommendations from Medial

Shubham

Fearlessย โ€ขย 11d

๐Ÿš€Day 06/21 โ€“ JavaScript DOM (Document Object Model) Todayโ€™s focus was on DOM โ€“ the way JavaScript interacts with web pages. ๐ŸŒ ๐Ÿ‘‰ DOM represents HTML as a tree structure. ๐Ÿ‘‰ With JS, we can select, modify, and create elements dynamically. Example

See More
Reply
9

Shubham

Fearlessย โ€ขย 16d

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

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

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:

See More
Reply
8

Shubham

Fearlessย โ€ขย 6d

Day 10/21 โ€“ JavaScript: Callback, Promise & Async/Await Today I learned how JavaScript handles asynchronous tasks like API calls, file loading, or timers. โšก ๐Ÿ”น Callback โ€“ a function passed into another function function fetchData(cb) { setTimeou

See More
Reply
1

Shubham

Fearlessย โ€ขย 15d

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

Shubham

Fearlessย โ€ขย 13d

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

Shubham

Fearlessย โ€ขย 14d

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

ARAVIND KANNAN

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

๐Ÿ’ก What if your wardrobe had a personal assistant? Meet Sigman! Sigman is an app designed to make life easier for men by simplifying wardrobe management and improving your style. With Sigman, you can: ๐Ÿ‘‰ Digitize and organize your wardrobe in just

See More
Reply
6
Image Description
Image Description

Hemant Prajapati

ย โ€ขย 

Techsaga Corporationsย โ€ขย 1y

๐Ÿ‘‰ Follow and Bookmark ๐Ÿ”– for sure before continuing :----- . . ๐Ÿš€ From Idea to MVP: The First 30 Days of Your Startup Journey Starting a startup is thrilling, but those first 30 days are crucial. Here's how you can turn your idea into a Minimum Via

See More
9 Replies
77
47

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