Day 93 / 365 👨💻 Focused on refining basics through practice. 🧩 Revisited component structure and props 🔁 Tracked state changes during interactions ⚙️ Cleaned up small parts of the code 🧠 Focused on making logic easier to follow #365DaysOfCode #React #JavaScript
Refining React Basics through Practice
More Relevant Posts
-
0ms Delay... but what about the extra arguments? 🧐 Most developers know setTimeout(callback, delay), but did you know you can pass arguments directly into the callback? #JavaScript #WebDevelopment #CodingQuiz #SoftwareEngineering #FrontendTips
To view or add a comment, sign in
-
Day 1/30 Write a function createCounter. It should accept an initial integer init. It should return an object with three functions. The three functions are: increment() increases the current value by 1 and then returns it. decrement() reduces the current value by 1 and then returns it. reset() sets the current value to init and then returns it. #30DaysOfCode #JavaScript #LeetCode #WebDevelopment #ProgrammingChallenge #CodingLife
To view or add a comment, sign in
-
-
Day 1 — Reverse a String (JavaScript) Problem Write a function that reverses a given string. Example Input: "hello" Output: "olleh" Approach Start from the last character of the string and iterate backwards. Keep adding each character to a new string until the loop finishes. Code function reverseString(str){ let reversed = "" for(let i = str.length - 1; i >= 0; i--){ reversed += str[i] } return reversed } console.log(reverseString("hello")) What I Learned Basic string traversal and how iteration works from the end of a string. #javascript #frontenddeveloper #codingpractice #dsa
To view or add a comment, sign in
-
-
Day 83 of #100DaysOfCode Today I learned the Two Pointers technique, an important pattern for solving array problems efficiently. Covered: • Pair sum problems • Array reversal • Removing duplicates • Optimizing time complexity This technique helps reduce time complexity #DSA #CodingInterview #JavaScript #LearningInPublic
To view or add a comment, sign in
-
Day 91/100 🚀 Learned about npm — what it is, how it works, and the role of the package.json file in managing projects. #100DaysOfCode #JavaScript #WebDev
To view or add a comment, sign in
-
What will be the output of the following JavaScript code? console.log([] + []); console.log([] + {}); console.log({} + []); 💬 Drop your answers below without running the code! #JavaScript #Developers
To view or add a comment, sign in
-
3 Must-Know JavaScript Concepts for Every Developer: • Closures • Promises & Async/Await • Event Loop If you understand these well, your coding level improves significantly. Which one do you find hardest? #JavaScript #FrontendDevelopment #CodingTips
To view or add a comment, sign in
-
Hoisting is a behavior in JavaScript where variable and function declarations are conceptually moved to the top of their containing scope (either the global script or a specific function) during the compilation phase, before the code is actually executed. It is important to understand that your code isn't physically moved anywhere. Instead, the JavaScript engine allocates memory for variable and function declarations before it executes the code line-by-line. #javascript #hoisting #frontend #scripting
To view or add a comment, sign in
-
-
Practicing JavaScript Strings with a simple hands-on project 💻 Built a couple of small projects,out of them one is here 🔹 Convert text to UPPERCASE & lowercase 🔹 Remove extra spaces 🔹 Replace specific words dynamically This helped me improve my understanding of: ✔ String methods ✔ Regular expressions for cleaning text ✔ DOM manipulation & event handling #JavaScript #WebDevelopment #Frontend #CodingPractice #LearningJourney
To view or add a comment, sign in
-
JavaScript Promise chaining vs async/await: Promise chains: → Harder to read → Error handling complex → Callback-ish Async/await: → Reads like sync code → try/catch works naturally → Easier debugging The choice is obvious. #JavaScript #AsyncJS #CleanCode
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