652a0d35e4b028998830ea11 Original
652a0d35e4b028998830ea11 Original
652a0d35e4b028998830ea11 Original
KG Coding
Some Other One shot Video Links:
• Complete HTML
• Complete CSS
• Complete Git and GitHub
• Complete Java and OOPs
• One shot University Exam Series
1. JS in Console
2. DOM Manipulation
3. Chrome Extensions
4. What is a Programming Language?
5. What is Syntax?
6. HTML/CSS/JavaScript
1. JS in Console (Inspect)
1. Allows real-time editing of HTML/CSS/JS
2. Run Scripts: Test code in console.
3. Debug: Locate and fix errors.
4. Modify DOM: Change webpage elements.
Errors: View error messages.
1. JS in Console (Alert)
1. JS in Console (Math)
Console can be used
as a Calculator
2. DOM Manipulation
1. Change HTML
2. Change CSS
3. Perform Actions
3. Chrome Extensions
1. Create Features: Add new
functionalities to Chrome.
2. Interact with Web: Modify or
read webpage content.
3. API Access: Use Chrome's
built-in functions.
4. User Experience: Enhance
or customize browsing.
4. What is a Programming Language?
• Giving instruc,ons to a
computer
• Instruc(ons: Tells
computer what to do.
• These instruc,ons are
called code.
5. What is a Syntax?
• Structure of words in a
sentence.
• Rules of the language.
• For programming exact
syntax must be followed.
6. FrontEnd / BackEnd / FullStack
Full Stack
6. Role of Browser
1. JS in Console
2. DOM Manipulation
3. Chrome Extensions
4. What is a Programming
Language?
5. What is Syntax?
6. HTML/CSS/JavaScript
FF5F1F
Practice Exercise
Introduction
11. Strings
9. Types of Numbers
11. Strings
18. Comments
FF5F1F
13. What is IDE
1. IDE stands for Integrated
Development Environment.
2. Software suite that
consolidates basic tools
required for software
development.
3. Central hub for coding, finding
problems, and testing.
4. Designed to improve
developer efficiency.
FF5F1F
13. Need of IDE
1. Streamlines development.
2. Increases productivity.
3. Simplifies complex tasks.
4. Offers a unified workspace.
5. IDE Features
1. Code Autocomplete
2. Syntax Highlighting
3. Version Control
4. Error Checking
13. Installation & Setup
1. Search VS Code
2. Keep Your Software up to date
13. Opening project in VsCode
13. VsCode Extensions and Settings
1. Live Server
2. Prettier
3. Line Wrap
4. Tab Size from 4 to 2
13. Using Emmet ! to generate code
1. Type ! and wait for suggestions.
14 HTML Tags Introduction
1. Elements that are used to
create a website are called
HTML Tags.
2. Tags can contain content or
other HTML tags.
3. Define elements like text,
images, links
14 Heading Tag
18. Comments
FF5F1F
Practice Exercise
JavaScript With HTML & CSS
23.Naming Conventions
snake_case
• Start with an lowercase le.er. Separate words with underscore
• Example: my_variable_name
Kebab-case
• All lowercase le.ers. Separate words with hyphens. Used for HTML and
CSS.
• Example: my-variable-name
23.Naming Conventions
Variables
Create Project
25. What are Booleans?
•Equality
• == Checks value equality.
• === Checks value and type equality.
•Inequality
• != Checks value inequality.
• !== Checks value and type inequality.
•Relational
• > Greater than.
• < Less than.
• >= Greater than or equal to.
• <= Less than or equal to.
Order of comparison operators is less than arithmeFc operators
27. if-else
1. Syntax: Uses if () {} to check a condition.
2. What is if: Executes block if condition is true, skips if false.
3. What is else: Executes a block when the if condition is false.
4. Curly Braces can be omitted for single statements, but not
recommended.
5. If-else Ladder: Multiple if and else if blocks; only one
executes.
6. Use Variables: Can store conditions in variables for use in if
statements.
Project Cricket Game
Defeats
Defeats
Defeats
28. Logical Operators
Defeats
Defeats
Defeats
29. Scope
Defeats
Defeats
Defeats
30. Truthy and Falsy Values
1. Falsy Values: 0, null, undefined, false, NaN, ""
(empty string)
2. Truthy Values: All values not listed as falsy.
3. Used in conditional statements like if.
4. Non-boolean values are auto-converted in
logical operations.
5. Be explicit in comparisons to avoid unexpected
behaviour.
31. If alternates
1. Ternary Operator: condition ? trueValue : falseValue
Quick one-line if-else.
2. Guard Operator: value || defaultValue
Use when a fallback value is needed.
3. Default Operator: value ?? fallbackValue
Use when you want to consider only null and undefined as falsy.
4. Simplifies conditional logic.
5. Use wisely to maintain readability.
FF5F1F if-else & Boolean
Revision
25. What are Booleans
26.Comparison Operators
27.if-else
28.Logical Operator
29.Scope
31. If alternates
Practice Exercise
FF5F1F
Improve Project
32. What are Functions?
Defeats
Defeats
34. Return statement
Defeats
User return instead of Global Variable
Defeats
Defeats
35. Parameters
Defeats
Defeats
FF5F1F Functions
Revision
Defeats
Defeats
39. Inside Object
Defeats
Defeats
FF5F1F Objects
Revision
36. What is an Object
37. Objects Syntax
38. Accessing Objects
39. Inside Objects
40. Autoboxing
41. Object References
42. Object Shortcuts
FF5F1F
Practice Exercise
Objects
1. Create object to represent a product from Myntra
2. Create an Object with two references and log changes to
one object by changing the other one.
3. Use bracket notation to display delivery-time.
4. Given an object {message: 'good job', status: 'complete'},
use de-structuring to create two variables message and
status.
5. Add function isIdenticalProduct to compare two product
objects.
KG Coding
Some Other One shot Video Links:
• Complete HTML
• Complete CSS
• Complete Git and GitHub
• Complete Java and OOPs
• One shot University Exam Series
Finish Project
43. What is JSON?
Defeats
Defeats
45. Date
1. new Date() Creates a new Date object with the current date
and time.
2. Key Methods:
• getTime(): Milliseconds since Epoch.
• getFullYear(): 4-digit year
• getDay(): Day of the week
• getMinutes(): Current minute
• getHours(): Current hour.
3. Crucial for timestamps, scheduling, etc.
46. DOM Properties & Methods
Defeats
Defeats
Project Cricket Game
Defeats
Defeats
FF5F1F JSON, Local Storage, Date & DOM
Revision
1. Filter Method:
• Syntax: array.filter((value, index) => return true/false)
• Use: Filters elements based on condition.
2. Map Method:
• Syntax: array.map((value) => return newValue)
• Use: Transforms each element.
FF5F1F Advance Functions
Revision