💻 Day 1 of Coding Today I practiced JavaScript fundamentals and solved some problems: • Calculated average marks from an array • Applied 10% discount on item prices using loops • Worked with arrays (adding, removing, replacing elements) • Created functions to count vowels in a string (normal + arrow function) • Practiced if-else and loop-based questions While solving these, I did face some difficulties understanding the logic at first, but after thinking through the problems step by step, I was able to figure them out. What I learned: Better understanding of loops and arrays How to manipulate data inside arrays Writing cleaner logic step by step Small progress, but staying consistent 🚀 #JavaScript #100DaysOfCode #WebDevelopment
JavaScript Fundamentals Practice Day 1
More Relevant Posts
-
🚀 Building Strong Foundations in JavaScript 💻✨ ✨Continuing my journey of improving core JavaScript skills through hands-on coding 👇 🔹 Loops Practice ✅ Printed numbers from 1–50 using: • for loop • while loop • do...while loop 🔹 Logic Building ✅ Generated multiplication table dynamically using user input 🔹 Iteration Techniques ✅ Used for...of for arrays and for...in for objects 🔹 Functions Practice ✅ Built a function to check Prime or Non-Prime numbers ✅ Implemented a Callback Function to calculate square of a number ✅ Practiced IIFE (Immediately Invoked Function Expression) to print today’s date 💡 Key Learnings: • Better understanding of loops and iteration • Clear idea of callback & higher-order functions • Debugged a real issue with IIFE and semicolons 😄 📌 Step by step, improving logic and confidence in JavaScript! #JavaScript #CodingJourney #LearningByDoing #FrontendDeveloper #WebDevelopment #KeepGrowing 🚀
To view or add a comment, sign in
-
Today I learned one of the most important basics in JavaScript — how to declare variables 💻 I practiced using: ✔️ var ✔️ let ✔️ const 🔹 var – old way (function scoped) 🔹 let – modern & block scoped 🔹 const – used for values that shouldn’t change I also understood: ✅ How to store data in variables ✅ How to print values using console.log() ✅ The difference between reassigning variables ✅ Block scope behavior Small steps, but strong foundation 💪 Consistency is the key 🔑 — aiming to code daily and improve step by step. #JavaScript #FrontendDevelopment #CodingJourney #100DaysOfCode #WebDevelopment #Learning #BeginnerDeveloper
To view or add a comment, sign in
-
-
Modern JavaScript: Iterators and Generators Learned to make data structures iterable, created generators for finite and infinite sequences, and used generators as observers. #TIET #ThaparUniversity #ThaparOutcomeBasedLearning #ThaparCoursera #Coursera #UCS654_Predictive_Analytics
To view or add a comment, sign in
-
Day 66 | JavaScript Loops & Array Iteration Today I practiced JavaScript loops and working with arrays of objects🧑🏻💻 - What I Worked On: •Iterated through array of objects using for loop •Printed all elements and accessed object properties like loc •Used loop with step increment (i += 2) to print alternate values •Practiced reverse counting using for and while loops •Used forEach() for cleaner array iteration 💡 Key Learning: •Arrays of objects are very common in real-world applications •Loop conditions must be handled carefully (i < length vs <= length) •forEach() is simple and readable for iteration •Multiple ways to loop → choose based on requirement Takeaway: Mastering loops is key to handling data efficiently in JavaScript Consistency is improving logic step by step #Day66 #JavaScript #Loops #Arraylteration #ProblemSolving #CodingJourney #10000Coders #WebDevelopment #SravanKumarSir
To view or add a comment, sign in
-
Today I explored more concepts in JavaScript and practiced hands-on coding. Topics I covered: ✔️ Variables (let, const) ✔️ Dynamic typing in JavaScript ✔️ Objects (creating, accessing, updating) ✔️ Adding new properties to objects ✔️ Functions inside objects (methods) 💡 Key Takeaway: JavaScript objects are very powerful for storing and managing real-world data, and understanding them is essential for working with APIs and building applications. 📸 Sharing some practice screenshots below. Next Step → Arrays and more real-world examples 🔥 #javascript #webdevelopment #codingjourney #mern #learning
To view or add a comment, sign in
-
-
Day 3 — JavaScript is humbling me in the best way. Started with the basics I thought I already knew. Turns out I knew the syntax but not the why. var vs let vs const — I used to just pick randomly. Now I get why const is default and var is basically legacy. The thing that actually clicked today: arrow functions aren't just shorter syntax. They handle 'this' differently. That's why everyone prefers them in certain situations. Also spent an hour on map, filter, and reduce with real data instead of fake tutorials. Way more useful. Favourite thing I learned: optional chaining (?.) — it's saved me from so many "cannot read property of undefined" errors already. Drop a JavaScript concept below that confused you at first 👇 #javascript #webdevelopment #frontenddeveloper #coding
To view or add a comment, sign in
-
🚀 Day 8 of My JavaScript Learning Journey Today I learned about Strings in JavaScript and explored various built-in methods to manipulate text. 📌 What I learned: • A String is a sequence of characters used to store text data • Strings are immutable (cannot be changed directly) • It is a primitive data type • String operations always return a new string ⚙️ String methods I practiced: ✔ length ✔ toUpperCase() / toLowerCase() ✔ trim() ✔ slice() / substring() ✔ replace() ✔ includes() ✔ indexOf() ✔ split() ✔ concat() 💡 I also practiced template literals: Hello ${name} → makes string formatting easier and cleaner. Understanding strings is very important because text handling is used in almost every application. Step by step, I’m improving my JavaScript fundamentals and coding skills. 💻✨ #JavaScript #WebDevelopment #FrontendDevelopment #CodingJourney #LearningInPublic #DeveloperJourney #ProgrammingBasics
To view or add a comment, sign in
-
-
🚀 Day 968 of #1000DaysOfCode ✨ Types of Loops in JavaScript (Explained Simply) Loops are one of the most fundamental concepts in JavaScript — but choosing the right one can make a big difference in your code. In today’s post, I’ve explained the different types of loops in JavaScript in a simple and practical way, so you can understand when to use each one. From `for` and `while` to `for...of` and `for...in`, each loop has its own purpose depending on how you’re working with data. Using the right loop not only makes your code cleaner but also improves readability and performance in many cases. This is one of those basics that every developer uses daily — but mastering it helps you write much better code. If you’re working with arrays, objects, or complex data structures, this is something you should be confident about. 👇 Which loop do you use the most in your day-to-day coding? #Day968 #learningoftheday #1000daysofcodingchallenge #FrontendDevelopment #WebDevelopment #JavaScript #React #CodingCommunity #JSBasics
To view or add a comment, sign in
-
Exploring JavaScript fundamentals! As part of my learning journey, I explored different ways to run JavaScript code in real-world environments. Understanding how and where your code executes is an important step for every developer. Here are 3 simple and commonly used ways to run JavaScript code: ✔️ Browser Console – great for quick testing and debugging ✔️ Node.js Terminal – useful for running JavaScript outside the browser ✔️ VS Code Terminal – efficient for development and project-based coding Each method has its own purpose, and learning all three helps build a strong foundation in JavaScript. #JavaScript #NodeJS #WebDevelopment #Coding #MERNStack #LearningJourney
To view or add a comment, sign in
-
-
🚀 Master JavaScript Faster with This Cheat Sheet! Whether you're a beginner or brushing up your skills, this JavaScript Cheat Sheet has everything you need in one place: ✔️ Variables & Data Types ✔️ Functions & Arrow Functions ✔️ Arrays & Objects ✔️ DOM Manipulation ✔️ ES6+ Features ✔️ Events & Async JavaScript #JavaScript #WebDevelopment #FrontendDevelopment #Coding #Programming #LearnToCode #Developer #100DaysOfCode #JS #SoftwareDevelopment #CodingLife #CodeNewbie #WebDev #TechSkills #ProgrammingLife #Developers #LearnJavaScript #CodingCommunity #FullStackDeveloper #DevLife
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