Today I started learning JavaScript, the language that makes websites interactive and dynamic. Before learning JavaScript, websites were mostly static. With JavaScript, we can add functionality like form validation, dynamic content, animations, and much more. Some key concepts I learned today: Variables – Used to store data in JavaScript Example: let name = "Avesh"; • Data Types – JavaScript supports different types like: String, Number, Boolean, Null, Undefined, Object • Console.log() – Very useful for debugging and checking values in the browser console Example: console.log("Hello Developers!"); One thing I realized today: JavaScript is not just a programming language — it's the backbone of modern web applications. Excited to explore more concepts like functions, DOM manipulation If you’re also learning web development, feel free to connect and share your journey. Let’s grow together. @Sheryians Coding School @Sarthak Sharma @Devendra Dhote @Daneshwar Verma #JavaScript #FullStackDeveloper #WebDevelopment #CodingJourney #BCA
Learning JavaScript for Web Development
More Relevant Posts
-
🚀 Day 3 of My JavaScript Learning Journey Today I explored some core concepts of JavaScript that every beginner must understand — and honestly, things are starting to make more sense now! 🔢 1. Numbers in JavaScript JavaScript has only one type for numbers — no separate integer or float. Example: 10 / 20 = 0.5 Even though both are integers, the output is a decimal. Simple but powerful! ✅ 2. Boolean Logic Understanding true/false conditions: 3 >= 3 → true 2 >= 3 → false Also learned something interesting 👇 Expressions are evaluated left to right: 1 >= 0 <= 5 < 6 >= 0 → true 🔄 3. Typecasting == → checks only value === → checks value + type This small difference can save you from big bugs! ⚡ 4. Logical Operators & Short Circuiting || (OR) → if any condition is true && (AND) → all conditions must be true ! (NOT) → reverses the result 👉 Short Circuiting: As soon as JavaScript gets the result, it stops checking further. Example: let marks = 45; let attendance = 60; if (marks >= 33 || attendance >= 75) { console.log("You are pass"); } else { console.log("Fail"); } 💡 Even if one condition is true, it won’t check the next! 🧵 5. Strings & Template Literals Instead of messy concatenation, we can use template literals: let naam = "Surbhi"; let kaam = "Web Developer"; let shaher = "Gurgaon"; let output = `Hi, I am ${naam}, a ${kaam} in ${shaher}`; Clean, readable, and modern ✨ 📌 Small steps every day… but building strong foundations! #javascript #codingjourney #webdevelopment #learninginpublic
To view or add a comment, sign in
-
Today I explored some important JavaScript and React concepts that help in writing better and more predictable code. ** Scope System in JavaScript I learned how variables are accessed in different scopes and how JavaScript manages them. • Lexical Scope – A function can access variables from its parent scope. • Variable Shadowing – When a variable inside a function has the same name as a variable outside it. • Block Scope – Variables declared with let and const are limited to the block where they are defined. ** Updating State in React I also learned the difference between primitive values and reference values when working with useState. • Primitive values (number, string, boolean) can be updated directly. • Objects and Arrays should be updated by creating a new copy instead of modifying the original state. Example: setUser({ ...user, age: 22 }); Understanding how scope, state updates, and data structures work makes React applications more reliable and easier to maintain. Every day of learning is helping me become more confident in building modern web applications. Looking forward to learning more and building exciting projects! @Sheryians Coding School @Sarthak Sharma @Ritik Rajput @Daneshwar Verma @Devendra Dhote #ReactJS #JavaScript #FullStackDeveloper #WebDevelopment #CodingJourney #LearnInPublic
To view or add a comment, sign in
-
Understanding the Difference: a++, ++a, and a += 1 in JavaScript When learning JavaScript, many beginners get confused between these three expressions. All of them increase the value of a variable, but they behave slightly differently depending on how they are used. 1️⃣ a++ (Post Increment) This operator uses the current value first and then increases it by 1. Example: let a = 5; let b = a++; console.log(a); // 6 console.log(b); // 5 Explanation: b receives the current value of a (5), and then a is incremented to 6. 2️⃣ ++a (Pre Increment) This operator increases the value first and then uses it. Example: let a = 5; let b = ++a; console.log(a); // 6 console.log(b); // 6 Explanation: a is incremented first, so b receives the updated value (6). 3️⃣ a += 1 (Addition Assignment Operator) This is another way to increase a variable’s value. Example: let a = 5; let b = (a += 1); console.log(a); // 6 console.log(b); // 6 Explanation: It simply means: a = a + 1 The value is updated immediately. Quick Summary: • a++ → Use the value first, then increase • ++a → Increase first, then use the value • a += 1 → Add 1 to the variable directly Understanding these small differences helps write cleaner code and avoid unexpected results in expressions. 💡Small concepts like these build a strong foundation in programming. #JavaScript #ProgrammingBasics #Coding #WebDevelopment #LearnToCode
To view or add a comment, sign in
-
Day 2 of My JavaScript Learning Journey Today I explored some fundamental concepts that helped me understand how decision-making works in JavaScript and how code execution actually flows. Understanding if vs if-else - "if" always checks its condition independently. - Multiple "if" statements will all run if their conditions are true. - "else" does NOT take a condition — it only runs when the previous "if" is false. Example insight: If we write multiple "if" statements like this: let marks = 85; if(marks > 90){ console.log("O"); } if(marks > 80){ console.log("A"); } if(marks > 60){ console.log("C"); } else { console.log("FAIL"); } Output: A C Why? Because each "if" runs separately and checks its own condition. --- Important Learning If you want ONLY one condition to run, use: if...else if...else Otherwise, multiple outputs will come. --- Semicolon in JavaScript - Semicolon (";") is optional in many cases. - JavaScript automatically inserts it (ASI – Automatic Semicolon Insertion). But: - It becomes important when writing multiple statements in one line. Example: console.log("2"); console.log("nifty"); #JavaScript #WebDevelopment #CodingJourney #LearningInPublic #Day2
To view or add a comment, sign in
-
Starting my JavaScript learning journey — sharing what I learn every day. 🚀 📅 JavaScript Learning Journey — Day 1 Today I started learning JavaScript, one of the most popular programming languages used to make websites interactive and dynamic. While HTML provides the structure of a website and CSS handles the design, JavaScript adds functionality and interactivity. 🔎 What is JavaScript? JavaScript is a programming language that runs in the browser and allows developers to create dynamic behavior on websites. 💡 What can we do with JavaScript? • Handle user interactions (click, input, submit) • Update website content dynamically • Validate forms • Fetch data from APIs • Build interactive web applications 🧑💻 Simple Example console.log("Hello JavaScript"); This code prints "Hello JavaScript" in the browser console. 📌 Key Takeaways (Day 1) • What JavaScript is • Why JavaScript is important for web development • Where JavaScript is used This is Day 1 of my JavaScript learning series. Looking forward to sharing more as I continue learning. #JavaScript #WebDevelopment #FrontendDeveloper #LearningInPublic #100DaysOfCode
To view or add a comment, sign in
-
-
Small JavaScript Project | Add Two Numbers Turning learning into practice! Today I built a simple “Add Two Numbers” project using HTML, CSS, and JavaScript, where I applied the concepts I learned in my previous lectures. Even a small project like this helps strengthen the core understanding of DOM manipulation and JavaScript logic, which are essential for frontend development. Here are the concepts I applied while building this project: ● Accessing HTML elements using document.getElementById() ● Handling user input from input fields ● Performing basic arithmetic operations using JavaScript ● Using event handling to trigger actions on button click ● Dynamically displaying the result on the webpage ● Applying DOM manipulation to update content in real time ● Understanding how JavaScript makes webpages interactive Building small projects like this helps transform theoretical knowledge into practical skills and improves problem-solving ability. Excited to keep learning and building more JavaScript projects as I continue my web development journey. #JavaScript #WebDevelopment #FrontendDevelopment #DOM #DOMManipulation #CodingJourney #Programming #LearnJavaScript #DeveloperJourney #CodingLife #SoftwareDevelopment #BuildInPublic #TechLearning
To view or add a comment, sign in
-
Today’s Learning – JavaScript Array Methods Today I learned about Array Methods in JavaScript. Arrays are very powerful because they allow us to store multiple values in a single variable, and array methods help us work with that data easily. Some methods I practiced today: push() – adds a new element at the end of an array pop() – removes the last element from an array shift() – removes the first element unshift() – adds a new element at the beginning map() – creates a new array by transforming elements filter() – creates a new array with elements that match a condition forEach() – loops through each element in the array Learning these methods helps me write cleaner and shorter code in JavaScript. I am currently improving my JavaScript fundamentals step by step as part of my Frontend Developer learning journey. #JavaScript #WebDevelopment #FrontendDevelopment #CodingJourney
To view or add a comment, sign in
-
🚀 JavaScript Notes – Simplified & Powerful! 📌 Here are some quick and essential JavaScript points every beginner should know: ✨ What is JavaScript? • A programming language used to make web pages interactive • Works with HTML & CSS • Runs directly in the browser 💡 Variables • "var", "let", "const" • "let" → changeable • "const" → fixed value 🔢 Data Types • String, Number, Boolean • Null, Undefined • Object, Array ⚙️ Functions • Block of code to perform tasks • Improves reusability 🖱️ Events • Responds to user actions • Examples: click, submit, change 🌐 DOM (Document Object Model) • Helps interact with web page elements • Makes pages dynamic 🔥 Why Learn JavaScript? • Core of web development • High demand skill • Opens doors to frontend & backend 💬 Keep learning. Keep building. Stay consistent. #JavaScript #WebDevelopment #Coding #Programming #StudentLife #LearnToCode #TechSkills
To view or add a comment, sign in
-
-
🚀 Exploring CSS Cursor Properties in Web Development Today I worked on a small HTML & CSS mini project where I practiced different CSS cursor properties and applied them with the hover effect to understand how cursor styles change during user interaction. In this practice, I explored multiple cursor types such as: 🔹 pointer 🔹 default 🔹 move 🔹 text 🔹 not-allowed 🔹 help 🔹 wait Using these properties helped me understand how cursor styling can improve user experience and visual feedback in web interfaces. This mini project strengthened my understanding of: ✔ CSS cursor properties ✔ Hover effects in CSS ✔ User interaction design ✔ Combining HTML structure with CSS styling As a BCA student, I am continuously practicing HTML, CSS, Java, and Python to build strong fundamentals in programming and frontend development. 📂 Explore my projects on GitHub: 🔗 https://lnkd.in/gwuTMY-a� — Hardik Prajapati #HTML #CSS #WebDevelopment #FrontendDevelopment #Programming #LearningJourney #BCAStudent #DeveloperGrowth #CodingPractice #GitHub
To view or add a comment, sign in
-
After understanding variables and basic data types in JavaScript, this week I started learning about arrays. Arrays are useful when we need to store multiple values in a single variable. Instead of creating many variables, we can organize data in one place. For example, storing a list of numbers, names, or items becomes much easier with arrays. Some things I practiced: • Creating arrays • Accessing elements using index • Adding and removing items • Using simple array methods It’s interesting to see how JavaScript helps organize and manage data more efficiently. Small steps, but each concept is helping me understand programming better. Still learning and exploring. 🚀 #WebDevelopment #JavaScript #Arrays #HTML #CSS #FrontendDeveloper #LearningInPublic #CodingJourney #Post #GTU #Student #LinkedIn
To view or add a comment, sign in
-
Explore related topics
- C# for Web Application Development
- Web Performance Optimization Techniques
- Front-end Development with React
- Cloud-Based Web Development Solutions
- TypeScript for Scalable Web Projects
- Web Security and Authentication Protocols
- Key Skills for a DEVOPS Career
- How to Start Learning Coding Skills
- Engineering Skills for Website Development
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