DOM + EVENTS + PROJECT – JavaScript Day 2
π DAY 2: DOM EVENTS PROJECTDOM EVENTS PROJECT What is the DOM? DOM (Document Object Model) = how JavaScript βseesβ your HTML. π It lets you: π 1. Selecting Elements Other ways: βοΈ 2....
π DAY 2: DOM EVENTS PROJECTDOM EVENTS PROJECT What is the DOM? DOM (Document Object Model) = how JavaScript βseesβ your HTML. π It lets you: π 1. Selecting Elements Other ways: βοΈ 2....
π’ LESSON 4 PRACTICAL β Display & Layout π― Goal Understand: CORE IDEA Every HTML element has a default display type: 1. Block elements Examples: 2. Inline elements Examples: π§βπ» STEP 1: Test Display...
π’ LESSON 3 PRACTICAL β Box Model (Spacing Like a Pro) π― Goal You will understand: FIRST: Understand This (CRITICAL) Every element is a box: π Most beginners mess up here β this is...
π’ LESSON 2 PRACTICAL β Colors, Backgrounds & Card Design π― Goal You will learn: π§Ύ STEP 1: Update Your HTML Replace your index.html with this: π¨ STEP 2: Style Background Update style.css: π...
Greatβthis is exactly the best way to learn JavaScript: step-by-step + building real projects. Iβll guide you like a mentor from beginner β professional level, with a clear roadmap and projects at each stage....
This is the perfect way to cement your knowledge. Instead of just reading about tags, you are now going to use them to build a Portfolio Resume. This is the first thing a recruiter...
Data attributes allow us to create our own custom attributes on any HTML element. They always start with the prefix data- 1. Why do we need them? Imagine you are building a list of...
Sometimes, you don’t want to write everything out. Sometimes, a video tutorial or an interactive map is exactly what a “learner” needs. In HTML, we use Embed tags and Iframes to bring outside content...
Attributes provide extra information about an HTML element. Some attributes are specific to certain tags (like src for images), while ID and Class can be used on almost any tag. 1. What is an...
When you share a link on X (Twitter) or Facebook and it shows a nice image and a description, that isnβt magicβitβs Meta Tags. These tags live in the <head> and tell the rest...