#100DaysOfCode challenge by learning programming with #JavaScript and #React with #TreeHouse Day 3- learned about strings, how to take in user inputs, how to combine them with other lines of strings (string concatenation!), and ways to make the code more readable overall. I found out very quickly that it can get very messy, very easily 😅 I've run into to some issues following along with the lessons and my biggest issue is misspellings (syntax errors). I'm just glad the JavaScript console points you to which lines have an issue. It might only show you one error line at a time but it's better than nothing! It's definitely a lot to take in so I understand why it's recommended to not overwhelm yourself in the beginning and just taking it slow and one day at a time.
Learning JavaScript and React with TreeHouse: Day 3 challenges
More Relevant Posts
-
Day 9 of #30DaysOfJavaScript on LeetCode Today's challenge: 2703 — Return Length of Arguments Passed The task was to write a function that returns the number of arguments passed to it — a simple yet elegant problem to explore rest parameters in JavaScript. Here’s my solution 👇 var argumentsLength = function(...args) { return args.length; }; It’s a short problem but a great reminder that even small concepts like this are essential for mastering function flexibility in JavaScript! Try it out here : https://lnkd.in/g6WC5mu7 #JavaScript #LeetCode #CodingChallenge #LearningJourney #30DaysOfCode #Functions #RestParameters #Programming
To view or add a comment, sign in
-
-
🚀 Day 81 of #100DaysOfCode Today I learned how to create object literals in JavaScript. An object literal lets you store related data as key-value pairs inside curly braces. For example: const car = { brand: "Toyota", year: 2020, color: "red" }; This way, you can easily organize, access, and update complex data as one unit. Object literals are foundational for structuring real-world information in your programs. #JavaScript #ObjectLiterals #Programming #100DaysOfCode
To view or add a comment, sign in
-
-
Just published a beginner-friendly guide to understanding function binding in JavaScript! If you've ever wondered why `this` becomes undefined in callbacks, this article breaks it down with simple examples. Perfect for developers learning JavaScript or anyone who needs a refresher on bind() 💻 https://lnkd.in/dmAU3Rhc #JavaScript #WebDevelopment #Programming #Coding
To view or add a comment, sign in
-
Day 3 – JavaScript Loops Practice In this task, I practiced different types of JavaScript loops — for, while, do...while, and for...of — to understand how iteration works in programming. I applied loops to solve small problems like counting numbers, iterating over arrays, and displaying patterns in the console. This practice improved my logic-building skills, debugging techniques, and understanding of flow control in JavaScript. Key Learning Areas: Difference between for, while, and do...while loops Using loops with arrays and objects Avoiding infinite loops and understanding loop conditions Real-time testing using console.log() #JavaScript #WebDevelopment #FrontendLearning #CodingChallenge #Loops #CodingJourney #WomenInTech #100DaysOfCode
To view or add a comment, sign in
-
Day 26 – Understanding Scope, Closure & Higher-Order Functions in JavaScript Today I learned about three powerful concepts in JavaScript: Scope, Closure, and Higher-Order Functions. These concepts helped me understand how data access and function behavior actually work behind the scenes. The lecture was deeply insightful and covered ideas that are rarely explained this clearly. Thanks to Rohit Negi for the guidance. #coderArmy #JavaScript #WebDevelopment #Frontend #LearningInPublic #Programming #tech #coding #GrowthJourney
To view or add a comment, sign in
-
-
Ever felt like JavaScript is secretly trolling you? 😅 Variables popping out of nowhere, functions remembering things they shouldn’t, and hoisting acting like a magician 🎩🐇 I just dropped a fun blog: 🧠 “Var, Let’s Go! JS Scopes & Closures” I broke down some of the most confusing JS concepts — Lexical Scope Function vs Block Scope Closures (with secret agents 🕵️♂️) Hoisting (aka JS’s magic trick) Explained with humor, analogies, and memes — because learning JS shouldn’t feel like debugging production code. 😬 📖 Read it here: https://lnkd.in/gtKXeQJu #JavaScript #WebDevelopment #CodingHumor #Programming #Beginners
To view or add a comment, sign in
-
-
💻 Exploring JavaScript Operators and Functions! 🚀 Today I practiced different types of operators and functions in JavaScript, including: ✨ Arithmetic Operators ( + , - , * , % ) ✨ Logical Operators ( && , || , ! ) ✨ String Concatenation ✨ Custom Functions for addition, subtraction, multiplication, and division This helped me understand how JavaScript performs calculations, comparisons, and combines strings — all fundamental skills for any developer! 🧠 Every line of code teaches something new. #JavaScript #WebDevelopment #CodingJourney #LearnToCode #Programming #JSBasics
To view or add a comment, sign in
-
Day 34 -Strengthening Logic with Loops & Conditionals in JavaScript 🔁 Today’s session focused on building the foundation of programming logic mastering loops and conditionals to make code smarter and more dynamic. Here’s what I practiced today: 🔹 Printed numbers in both increasing and decreasing order 🔹 Filtered even numbers using conditional checks 🔹 Repeated words for pattern-based outputs 🔹 Checked even/odd numbers using loop logic 🔹 Took user input to detect positive or negative values 🔹 Created a small program to check voting eligibility based on age Each exercise helped sharpen my logical thinking and problem-solving skills step by step, getting closer to writing cleaner and more efficient code! 💪 #Day34 #JavaScript #WebDevelopment #CodingJourney #SheryiansCodingSchool #FrontendDeveloper #ProblemSolving
To view or add a comment, sign in
-
-
JavaScript Quirks Every Developer Should Know Understanding these "funny" behaviors isn't just entertaining it's essential for writing better code: - - Why [] == ![] is true (type coercion) - Why 0.1 + 0.2 ≠ 0.3 (floating-point precision) - Why sort() doesn't work as expected (alphabetical default) These quirks teach us valuable lessons about JavaScript's underlying mechanics. What JS behavior caught YOU off guard when you first started? Share your stories! #JavaScript #WebDevelopment #TechEducation #LearnToCode #Programming
To view or add a comment, sign in
-
Day 6 of #30DaysOfJavaScript on LeetCode Today's challenge: 2634 — Filter Elements from Array The task was to implement a custom filter function that returns a new array containing only the elements that satisfy a given condition — similar to the built-in Array.filter() method, but without using it. Here’s my solution 👇 var filter = function(arr, fn) { let ans = []; for (let i = 0; i < arr.length; i++) { if (fn(arr[i], i)) ans.push(arr[i]); } return ans; }; This challenge was a great way to understand how callback functions and conditional logic work together in JavaScript — it really helps appreciate how built-in methods like filter() operate under the hood! If you’d like to try it out, check it here: https://lnkd.in/g6WC5mu7 #JavaScript #LeetCode #CodingChallenge #LearningJourney #30DaysOfCode #Functions #Callbacks #Arrays #Programming #Filter
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