Day-74 📘 Python Full Stack Journey – JavaScript Basics Today I took my first step into JavaScript, the language that brings interactivity to websites. 🚀 🎯 What I learned today: ⚙️ Introduction to JavaScript JavaScript is a programming language used to create interactive websites It can hide/show elements, perform form validation, and create animations 🔗 Connecting JavaScript with HTML Internal JavaScript using the <script> tag Can be placed inside the <head> (below the <title> tag) or at the end of the <body> Best practice: place scripts at the end of the body so HTML loads first External JavaScript Create a .js file and link it using the <script> tag at the end of the body 🖨️ Output in JavaScript document.writeln() — used to print output on the webpage 🧠 Variables in JavaScript var — globally scoped, allows re-declaration and re-assignment let — block scoped, re-assignment allowed, re-declaration not allowed const — block scoped, neither re-assignment nor re-declaration allowed 🔢 Primitive Data Types Number String Boolean Undefined Null BigInt Symbol (each symbol is unique, even with the same description) Learning JavaScript fundamentals made it clear how logic, interaction, and UI come together on the web. Excited to go deeper into scripting and dynamic web behavior! 💻✨ #JavaScript #PythonFullStack #WebDevelopment #Frontend #LearningJourney #CodingJourney #Upskilling #TechSkills #ContinuousLearning
Learning JavaScript Basics for Web Development
More Relevant Posts
-
Day-85 📘 Python Full Stack Journey – JavaScript DOM Manipulation Today I went deeper into the DOM (Document Object Model) and learned how JavaScript can dynamically access and update HTML elements on a webpage. 🎯 What I learned today: 🌐 getElementsByClassName() Accesses elements by class name Requires index to target a specific element Used = to replace content and += to append content Applied the same data to multiple elements using a for loop 🌐 getElementsByTagName() Accesses elements by tag name Requires index for element selection Used replace (=) and append (+=) operations 🎯 querySelector() Targets the first matching element Accepts: Element selector ('p') Class selector ('.demo') ID selector ('#demo') 🎯 querySelectorAll() Targets all matching elements Accessed elements using index Supports element, class, and ID selectors Learning DOM manipulation really highlighted how JavaScript brings interactivity and dynamic behavior to web pages. Every step makes frontend development more exciting! 🚀 #JavaScript #PythonFullStack #WebDevelopment #Frontend #DOM #CodingJourney #LearningToCode #Upskilling #TechSkills #ContinuousLearning
To view or add a comment, sign in
-
-
📘 Day 62: JavaScript Basics & Variables 🔹 JavaScript Introduction • JavaScript is a programming language used to make webpages interactive • Helps in animations, hiding/showing elements, and form validation • Mainly used in front-end development 🔹 Linking JavaScript with HTML 💡 Internal Linking • Can be added inside <head> or at the end of <body> • End of <body> is preferred to avoid loading delays 💡 External Linking • Create a .js file and link it using <script src="file.js"></script> 🔹 Variable Declarations • var, let, and const are used to declare variables ✅ var • Globally scoped • Allows recreation and reassignment ✅ let • Block scoped • No recreation allowed • Reassignment allowed ✅ const • Block scoped • No recreation or reassignment 🔹 Primitive Data Types in JavaScript • Number • String • Boolean • Undefined • Null • BigInt • Symbol 💡 Key Notes • JS treats integers and decimals both as Number • Strings are text inside quotes • Boolean → true/false • Undefined → variable declared but no value • Null → intentionally empty value • BigInt → large numbers ending with n • Symbol → unique and private values 🚀 Building strong JavaScript fundamentals step by step! #Day62 #JavaScript #WebDevelopment #FrontendDevelopment #CodingJourney #LearnJS #ProgrammingBasics #WebDevJourney #TechSkills
To view or add a comment, sign in
-
Day-89 📘 Python Full Stack Journey – JavaScript DOM Manipulation Today I learned how to dynamically create and manage HTML elements using JavaScript — a big step toward building truly interactive web applications. 🎯 What I learned today: 🔹 addEventListener() — attaching events in a clean and scalable way 🔹 createElement() — creating new HTML elements using JavaScript 🔹 createTextNode() — adding text content dynamically 🔹 appendChild() — inserting elements into the DOM 🔹 setAttribute() — setting or updating element attributes programmatically These concepts showed me how JavaScript can control and update the DOM on the fly, without writing static HTML. Really exciting to see pages being built dynamically through code! 🚀 #JavaScript #PythonFullStack #WebDevelopment #Frontend #DOM #CodingJourney #LearningToCode #Upskilling #TechSkills #ContinuousLearning
To view or add a comment, sign in
-
-
Day-80 📘 Python Full Stack Journey – JavaScript Logic & Conditions Today I focused on decision-making and logic in JavaScript — essential concepts for building interactive and dynamic applications. 🎯 What I learned today: 🔍 Comparison Operators ==, === !=, !== >, <, >=, <= Understanding the difference between loose and strict comparison was especially important. 🔗 Logical Operators && (AND) || (OR) ! (NOT) Used for combining and controlling conditions. ❓ Conditional (Ternary) Operator A concise way to write simple if-else conditions. 🧭 Conditional Statements Making decisions in code using if, else if, and else. 🧑💻 User Interaction prompt() — taking input from the user alert() — displaying messages to the user These concepts showed me how JavaScript brings logic and interactivity together on the web. Excited to keep building smarter, user-driven applications! 🚀 #JavaScript #PythonFullStack #WebDevelopment #Frontend #CodingJourney #LearningToCode #Upskilling #TechSkills #ContinuousLearning
To view or add a comment, sign in
-
-
Day-79 📘 Python Full Stack Journey – JavaScript Objects, Maps & Operators Today I went deeper into JavaScript fundamentals, focusing on how data is structured, manipulated, and operated on within programs. 🎯 What I learned today: 🧱 JavaScript Objects How to change values in an object How to add new key–value pairs How to delete existing key–value pairs How to extract keys and values, which are stored as arrays 🗺️ JavaScript Map Defined using the new keyword with the Map() constructor Maps are ordered and mutable 🔧 Map Methods set() — add or update values get() — retrieve values has() — check existence delete() — remove entries ➕ JavaScript Operators Arithmetic Operators: +, -, *, /, **, %, ++, -- Assignment Operators: +=, -=, *=, /=, **=, %= These concepts are helping me better understand how JavaScript handles data and logic behind the scenes. Step by step, building a strong foundation for dynamic web development! 🚀 #JavaScript #PythonFullStack #WebDevelopment #Frontend #CodingJourney #LearningToCode #Upskilling #TechSkills #ContinuousLearning
To view or add a comment, sign in
-
-
🚀 Today I publish my New article on Advanced Arrays in JavaScript-Beyond the Basics in JavaScript 🚀 In this article, I explored powerful array methods that are help to write short, clear and more professional code compared to traditional loops. This methods are not just about syntax but they improve readability, scalability and other problem solving skills in real project. While learning JavaScript step by step. I'm realizing that growth happens when we move from basics to writing smarter and more structured code. This topic truly helped me to think in more functional way. 📖 Read the full article here: 👉 https://lnkd.in/gi8t8dNz #JavaScript #LearnToCode #Programming #ArrayMethods #WebDeveloper
To view or add a comment, sign in
-
The 2026 Guide to Modern JavaScript & TypeScript Tech Stacks Javascript has become the most popular programming language, start from browser and run on backend side. Year 2026 have increasing usage of javascript with their multiple choice runtime. I will explain each options for production ready based of my experiences. I've been create some projects using different kind of javascript tech stack, there is several thing you should consider to start new javasript project....
To view or add a comment, sign in
-
Just published a new blog on Array Methods in JavaScript. In this article, I explained: • push() and pop() • shift() and unshift() • map() • filter() • reduce() (simple explanation) • forEach() If you're learning JavaScript, mastering these methods will immediately improve your code quality and readability 👇 https://lnkd.in/gsd7cyU4 Hitesh Choudhary Chai Aur Code Piyush Garg Akash Kadlag Jay Kadlag #JavaScript #WebDevelopment #FrontendDevelopment #LearnInPublic #CodingJourney #100DaysOfCode #WebDev #Programming
To view or add a comment, sign in
-
Day-86 📘 Python Full Stack Journey – JavaScript Events & Dynamic Styling Today I learned how JavaScript events make web pages interactive by responding to user actions in real time. 🔁🖱️ 🎯 What I learned today: ⚡ JavaScript Events onclick — triggers a function when an element is clicked ondblclick — triggers on double-click onmouseover — triggers when the mouse moves over an element Example: onclick="fun()" 🎨 Dynamic Styling with JavaScript Changing styles directly using JavaScript: element.style.color = 'red' element.style.background = 'blue' This helped me understand how JavaScript can instantly modify the UI based on user interactions — a key concept for building responsive and interactive web applications. Really enjoying how JavaScript brings life to static HTML pages! 🚀 #JavaScript #PythonFullStack #WebDevelopment #Frontend #DOM #Events #UIUX #CodingJourney #LearningToCode #Upskilling #ContinuousLearning
To view or add a comment, sign in
-
-
𝗝𝗮𝘃𝗮𝗦𝗰𝗿𝗶𝗽𝘁 𝗜𝗻𝗵𝗲𝗿𝗶𝘁𝗮𝗻𝗰𝗲: 𝗜𝘁’𝘀 𝗢𝗯𝗷𝗲𝗰𝘁𝘀 𝗔𝗹𝗹 𝗧𝗵𝗲 𝗪𝗮𝘆 𝗗𝗼𝘄𝗻 🧬 Hi everyone! I’ve just published Part 6 of my JavaScript deep-dive series: 𝗧𝗵𝗲 𝗣𝗼𝘄𝗲𝗿 𝗼𝗳 𝗣𝗿𝗼𝘁𝗼𝘁𝘆𝗽𝗲𝘀. Most developers use class and extends every day, but few realize that JavaScript doesn't actually have "classes" in the traditional sense. It has something more flexible: 𝗣𝗿𝗼𝘁𝗼𝘁𝘆𝗽𝗮𝗹 𝗜𝗻𝗵𝗲𝗿𝗶𝘁𝗮𝗻𝗰𝗲. If you've ever been confused by .prototype vs [[Prototype]], or wondered why [].toString() behaves differently than {}.toString(), this article breaks down the "Family Tree" of the JavaScript engine. 𝗜𝗻 𝘁𝗵𝗶𝘀 𝗽𝗮𝗿𝘁, 𝘄𝗲 𝗲𝘅𝗽𝗹𝗼𝗿𝗲: • 𝗧𝗵𝗲 𝗣𝗿𝗼𝘁𝗼𝘁𝘆𝗽𝗲 𝗖𝗵𝗮𝗶𝗻: How the engine performs a "search party" across objects to find methods. • 𝗙𝘂𝗻𝗰𝘁𝗶𝗼𝗻.𝗽𝗿𝗼𝘁𝗼𝘁𝘆𝗽𝗲: The meta-layer where even the Object constructor is a student of the Function constructor. • 𝗦𝗲𝗰𝘂𝗿𝗶𝘁𝘆 𝘄𝗶𝘁𝗵 𝗡𝘂𝗹𝗹: Why Object.create(null) is the ultimate protection against "Prototype Pollution." • 𝗧𝗵𝗲 𝗖𝗹𝗮𝘀𝘀 𝗜𝗹𝗹𝘂𝘀𝗶𝗼𝗻: Why ES6 classes are actually just "syntactic sugar" over the internal slots we’ve been studying. Master the chain, and you master the very foundation of how JavaScript manages memory and behavior. Read the full deep-dive here: https://lnkd.in/dCzneRAE 🔗 𝗡𝗲𝘅𝘁 𝘂𝗽: We tackle the most misunderstood concept in the language, the this keyword. #𝗝𝗮𝘃𝗮𝗦𝗰𝗿𝗶𝗽𝘁 #𝗪𝗲𝗯𝗗𝗲𝘃𝗲𝗹𝗼𝗽𝗺𝗲𝗻𝘁 #𝗦𝗼𝗳𝘁𝘄𝗮𝗿𝗲𝗘𝗻𝗴𝗶𝗻𝗲𝗲𝗿𝗶𝗻𝗴 #𝗖𝗼𝗱𝗶𝗻𝗴 #𝗣𝗿𝗼𝘁𝗼𝘁𝘆𝗽𝗲𝘀 #𝗢𝗢𝗣 #𝗧𝗲𝗰𝗵𝗟𝗲𝗮𝗿𝗻𝗶𝗻𝗴 #𝗜𝗻𝘁𝗲𝗿𝗺𝗲𝗱𝗶𝗮𝘁𝗲𝗝𝗦 #𝗣𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗶𝗻𝗴
To view or add a comment, sign in
Explore related topics
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development