🚀 JavaScript Learning Update! Today I practiced using the prompt() function to take user input and document.write() to display the output directly on the web page. 🧠 Task: Take the employee’s name and salary as input from the user and display it on the document. ✅ Output Example: Employee name is Divya and salary Every small step adds up — learning how to handle user input and display dynamic content using JavaScript! 💪 #JavaScript #WebDevelopment #LearningJourney #FrontendDevelopment #Coding #JS #10000Coders #MeghanaM #Spandanachowdary
More Relevant Posts
-
👇 💻✨ JavaScript Practice Update! Today I worked on a task using the prompt() and document.write() methods to take multiple inputs from the user and display employee details dynamically on a web page. 🧠 Task Overview: Take inputs such as Employee ID, Name, Email, Phone Number, Salary, Experience, Joining Date, Location, and Designation using prompt(). Display all details in a formatted way using document.write(). ✅ Output Example: Displays all employee details entered by the user directly on the document. 🧩 This exercise helped me understand how to: Capture user input in JavaScript Display formatted data using DOM methods Work with basic string concatenation #JavaScript #FrontendDevelopment #WebDevelopment #LearningJourney #Coding #HTMLCSSJS #Programming #JS #CodingJourney #10000coders #MeghanaM #SpandanaChowdary
To view or add a comment, sign in
-
JavaScript Expressions vs Statements — Know the Difference! When learning JavaScript, many beginners confuse expressions and statements — but understanding them makes your code more readable and logical. --- 🧩 What is an Expression? An expression is any valid unit of code that produces a value. It can be a variable, a function call, or even a calculation. Example: 5 + 10 // Expression x * y // Expression greet("Kishore") // Function call expression ✅ Output: Expressions always return a value. --- 🧱 What is a Statement? A statement performs an action — like declaring a variable, using a loop, or an if condition. It tells the program what to do. Example: let total = 5 + 10; // Statement if (total > 10) { // Statement console.log("Big number!"); } 🧠 Statements control the flow, while expressions produce values. --- 🔁 In short: Type Purpose Example Expression Produces a value x + y Statement Performs an action if(x > y) { ... } --- 🔖 #JavaScript #WebDevelopment #Frontend #JSConcepts #CodingTips #WebDevCommunity #LearnToCode #100DaysOfCode #DeveloperJourney #ExpressionsVsStatements #CodeLearning #KishoreLearnsJS
To view or add a comment, sign in
-
📘 Important Built-in JavaScript Methods You Must Know JavaScript gives us a treasure of built-in methods that make coding easier, cleaner, and more efficient. In today’s post, I’ve covered some of the most powerful and commonly used JS methods that every developer should master — from arrays and strings to objects and numbers. These methods can save you lines of code, improve readability, and help you write smarter, more elegant JavaScript. 💡 If you want to go from writing code to crafting solutions — this post is for you! 💬 Which JS method do you find yourself using the most? Drop it in the comments 👇 Follow Rensith Udara Gonalagoda for more useful content #learningoftheday #900daysofcodingchallenge #JavaScript #WebDevelopment #FrontendDevelopment #CleanCode #LearnToCode #Programming #CodeBetter
To view or add a comment, sign in
-
JavaScript Learning – Day 6: Global Scope Today I explored the concept of Scope in JavaScript — specifically, the Global Scope. Scope determines where variables and functions are accessible in your code. Understanding it is essential for avoiding variable conflicts and writing clean, bug-free programs. What is Global Scope? In JavaScript, a variable declared outside of any function or block has global scope. It can be accessed and modified from anywhere in the code. Example: // Global variable let name = "Kanishka"; function greet() { console.log("Hello, " + name); // Accessible here } greet(); console.log("Welcome, " + name); // Accessible here too Key Points: Global variables are accessible throughout the program. Avoid declaring too many globals — it can cause naming conflicts. Always prefer local or block scope (let, const) for better control and safety. Learning Focus: Understanding scope helps in managing variable accessibility and maintaining clean code in larger applications. #JavaScript #Day6 #Scope #GlobalScope #WebDevelopment #FrontendDeveloper #FullStackDeveloper #Coding #WomenInTech #TechLearning #ModernJavaScript #CodeNewbie #MCAStudent #LearningJourney #WebDevCommunity
To view or add a comment, sign in
-
📘 Important Built-in JavaScript Methods You Must Know JavaScript gives us a treasure of built-in methods that make coding easier, cleaner, and more efficient. In today’s post, I’ve covered some of the most powerful and commonly used JS methods that every developer should master — from arrays and strings to objects and numbers. These methods can save you lines of code, improve readability, and help you write smarter, more elegant JavaScript. 💡 If you want to go from writing code to crafting solutions — this post is for you! 💬 Which JS method do you find yourself using the most? Drop it in the comments 👇 Follow Muhammad Nouman for more useful content #learningoftheday #900daysofcodingchallenge #JavaScript #WebDevelopment #FrontendDevelopment #CleanCode #LearnToCode #Programming #CodeBetter
To view or add a comment, sign in
-
💻✨ Mastering DOM Manipulation in JavaScript! Today, I explored how JavaScript interacts with the HTML structure using the Document Object Model (DOM) — a core skill for every front-end developer. 🚀 🧠 What I Practiced: 🔹 Selecting elements using getElementById(), getElementsByClassName(), getElementsByTagName(), and querySelector() 🔹 Modifying web content with innerText and innerHTML 🔹 Dynamically updating text and HTML elements without refreshing the page This hands-on session helped me understand how JavaScript brings life to web pages by making them interactive and dynamic! 💪 📸 Here’s a glimpse of my DOM learning project in VS Code 👇 Harish M.Spandana Chowdary,Bhagavathula Srividya,10000 Coders #JavaScript #DOMManipulation #FrontendDevelopment #WebDevelopment #HTML #CSS #Coding #Programming #Developer #SoftwareEngineering #LearnToCode #100DaysOfCode #WebDesign #Tech #CodeNewbie #Programmer #JavaScriptDeveloper #FrontendEngineer #WomenWhoCode #FullStackDeveloper #WebDevJourney #CodingLife #TechLearning #CodeWithMe #Developers #StudentDeveloper #VSCode #LearningJourney
To view or add a comment, sign in
-
-
💡 “Practice makes progress!” I just created a JavaScript Function Practice File covering beginner to advanced levels. If you’re learning JS or revising concepts, this will be a great resource to test your logic and coding skills. 🔥 Keep building, keep learning! #MERN #JavaScript #LearningByDoing #CodingJourney
To view or add a comment, sign in
-
JavaScript isn’t just about writing code — it’s about learning to think in new ways. The deeper I go, the more I realize: every function has a story, and every bug has a lesson. #JavaScript #WebDevelopment #ContinuousLearning #CodingJourney
To view or add a comment, sign in
-
-
Understanding Template Literals in JavaScript" Today I learned about Template Literals — a cool way to write cleaner and more readable strings in JavaScript. Instead of using + for string concatenation, we can use backticks (`) and easily include variables or expressions! Example: const name = "Kishore"; const course = "JavaScript"; const message = `Hello, my name is ${name} and I'm learning ${course}!`; console.log(message); // Output: Hello, my name is Kishore and I'm learning JavaScript! It makes string formatting super easy and professional. 🚀 #JavaScript #WebDevelopment #LearnToCode #FrontendDevelopment #CodingJourney #TemplateLiterals #ProgrammingLife #100DaysOfCode #TechLearning #DeveloperCommunity
To view or add a comment, sign in
-
This tiny newline can break your JavaScript code😱 #coding #javascript #frontend This JavaScript short explains one of the most confusing return statement bugs caused by Automatic Semicolon Insertion (ASI). Learn why the same-looking functions return different results — and how to avoid this hidden trap in your code. Perfect for JavaScript interviews, beginners, and advanced devs who want to understand JS deeply. #JavaScript #CodingShorts #JSInterview #TheDeveloperSchool #JavaScript #CodingShorts #TheDeveloperSchool #WebDevelopment #JSInterview #FrontendDeveloper #FullStackDeveloper #JavaScriptTips #LearnCoding #CodeShorts #ProgrammingShorts #TechInterview
To view or add a comment, sign in
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