🚀 30 Days of JavaScript – Day 5 Continuing my journey to improve my JavaScript logical thinking by building small programs every day. 💡 Today’s Program: Reverse a String This program takes a word from the user and reverses it using a loop. 🧠 Concepts Used: • for loop • string indexing • basic string manipulation Example: Input → JavaScript Output → tpircSavaJ 🎥 Demo below 👇 Full source code in the First comment. #JavaScript #CodingJourney #ProblemSolving #WebDevelopment #Learning
More Relevant Posts
-
🚀 What I Learned Today – JavaScript Basics Today I revised some important concepts in JavaScript: 🔹 Loops (for, while, do-while, for...of, for...in) 🔹 Infinite loop and why it should be avoided 🔹 Strings and how they store text 🔹 String properties (length, indexing) 🔹 Template literals & string interpolation 🔹 String methods (toUpperCase, trim, slice, replace, etc.) Also understood that strings are immutable in JavaScript. Small steps every day to become a better developer 💻 #JavaScript #WebDevelopment #LearningInPublic #CodingJourney
To view or add a comment, sign in
-
-
just built a digital clock using javascript. sounds simple, but not gonna lie… seeing time update automatically felt cooler than it should have . Finally understanding how javascript actually makes a webpage *do* things instead of just sitting there looking pretty. small project, but big confidence boost. trying to move from “watched tutorial” to “ok wait I can build stuff now”. github link in comments. #buildinpublic #javascript #codingjourney #learning
To view or add a comment, sign in
-
Continuing my Frontend revision, sharing my handwritten notes on JavaScript concepts. While learning JavaScript, I realized how important it is to understand how strings and arrays actually work. These cover string methods, method chaining, arrays, array methods, and basic operations on arrays. Sharing in case it helps anyone learning JavaScript fundamentals. JavaScript Notes – Part 3 #JavaScript #WebDevelopment #StudentDeveloper #Consistency #ComputerScience
To view or add a comment, sign in
-
🚀 30 Days of JavaScript – Day 12 Can you solve these number puzzles? 🤔 Today I built a small JavaScript program that asks 3 number pattern questions and calculates the final score. 🧠 Concepts Used: conditional statements user input with prompt() variables and score tracking 🎥 Demo below 👇 Full source code in the First comment. #JavaScript #CodingChallenge #ProblemSolving #LearningJavaScript #WebDevelopment
To view or add a comment, sign in
-
🚀 30 Days of JavaScript – Day 11 Continuing my journey of improving JavaScript logical thinking by building small interactive programs. 💡 Mini Project: JavaScript Quiz Game This program asks a few questions and calculates the final score based on the user’s answers. 🧠 Concepts Used: • conditional statements • variables • user input with prompt() • string handling using toLowerCase() 🎥 Demo below 👇 Full source code in the First comment. #JavaScript #CodingChallenge #WebDevelopment #LearningJavaScript #ProblemSolving #30DaysOfCode
To view or add a comment, sign in
-
Today I revised an important concept in JavaScript – Arrow Functions. Arrow functions help write shorter and cleaner functions compared to traditional functions. I practiced examples like addition, subtraction, and multiplication using arrow functions. Consistent practice is helping me strengthen my JavaScript fundamentals and improve my problem-solving skills. #JavaScript #WebDevelopment #FrontendDevelopment #CodingPractice #LearningJourney
To view or add a comment, sign in
-
-
Starting with JavaScript, sharing my handwritten notes on basic JavaScript concepts. While starting with JavaScript, I realized how important it is to get the fundamentals right before moving ahead. These cover variables, data types, operators, typeof, NaN, let vs const vs var, and strings. Sharing in case it helps anyone learning JavaScript fundamentals. JavaScript Notes – Level 1 #JavaScript #WebDevelopment #StudentDeveloper #Consistency #ComputerScience
To view or add a comment, sign in
-
Memory in JavaScript Most beginners learn JavaScript… but very few understand how memory works behind the scenes. 🧠 And this small concept explains why some variables behave differently. Let’s start with the basics of memory in JavaScript. When you create a variable, JavaScript stores its value somewhere in memory so it can use it later. Here are the key beginner ideas: • Memory stores values like numbers, strings, objects, and arrays. • When you create a variable, JavaScript allocates space in memory. • Simple values (number, string, boolean) are stored directly. • Complex values (objects, arrays, functions) are stored by reference. This is the foundation for understanding topics like: stack, heap, references, and copying objects. Mastering memory basics makes debugging JavaScript much easier. ⚡ #JavaScript #WebDevelopment #FrontendDevelopment #LearnToCode #JavaScriptBasics #CodingForBeginners #SoftwareDevelopment #ProgrammingTips #JSDevelopers #TechEducation
To view or add a comment, sign in
-
-
🚨 Many beginners get confused between var, let, and const in JavaScript. They all create variables… but they behave very differently. If you understand this early, your JavaScript code will be cleaner and safer. Here is the simple difference 👇 • var Old way to create variables. It is function scoped and can be re-declared and updated. • let Modern JavaScript variable. It is block scoped and can be updated but not re-declared in the same scope. • const Used for values that should not change. It is block scoped and cannot be re-assigned. Quick tip 💡 Use const by default, let when value changes, and avoid var in modern JavaScript. Small concepts like this make a big difference in writing better code. #javascript #webdevelopment #frontenddevelopment #codingtips #learnjavascript #programmingbasics #softwaredevelopment #devcommunity #100daysofcode #javascriptdeveloper
To view or add a comment, sign in
-
-
🚀 JavaScript Fundamentals Series — Part 8 Objects are one of the most important concepts in JavaScript. Almost everything in JavaScript is built around objects. This guide covers: • What objects really are • Properties and methods • How JavaScript structures data • Why objects are everywhere in JS If you want to truly understand JavaScript, you must understand objects. Full guide 👇 https://lnkd.in/dGHh7weZ #javascript #coding #webdev
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
let input = prompt("Enter a word to reverse:"); if (input) { let word = input.trim(); let reversed = ""; for (let i = word.length - 1; i >= 0; i--) { reversed += word[i]; } console.log("Original Word:", word); console.log("Reversed Word:", reversed); } else { console.log("No word entered."); }