GitHub: https://lnkd.in/g5hfiHs5 🔥 Project 12/20 – Fetch API (Random Joke) ✨ A fun Random Joke Generator built using JavaScript + async/await! ✨ This project fetches a new joke from an API with just one click. Key highlights: 😂 Fetch random jokes ⚡ async/await for smooth asynchronous code 🔁 Updates instantly on button press A clean and beginner-friendly API project for your portfolio. Don’t just code — fetch a smile 🚀 #webdevelopment #javascript #frontenddevelopment #frontendprojects #htmlcssjs #fetchapi #asyncawait #apicalls #vanillajs #learnjavascript #programming #webdesign #techcommunity #githubproject #uicomponents #frontendinspiration #modernui #creativefrontend #webdevcommunity #codinglife #developerlife #softwareengineering #programminglife #frontendskills #codewithusman
More Relevant Posts
-
Day 8 of #30DaysOfJavaScript on LeetCode Today's challenge: 2629 — Function Composition The task was to implement a function that takes an array of functions [f1, f2, f3, ..., fn] and returns a new function that represents their composition. In simple terms, the composed function should apply all the given functions from right to left, just like: f(g(h(x))) Here’s my solution 👇 var compose = function(functions) { return function(x) { let res = x; for (let i = functions.length - 1; i >= 0; i--) { res = functions[i](res); } return res; } }; This challenge gave me a deeper understanding of how function chaining and composition work in JavaScript — building complex logic from smaller, reusable functions. It’s a beautiful example of how functional programming principles simplify problem-solving! Try it out here : https://lnkd.in/g6WC5mu7 #JavaScript #LeetCode #CodingChallenge #LearningJourney #30DaysOfCode #Functions #Callbacks #Programming #Composition
To view or add a comment, sign in
-
-
🚀 Master JavaScript from Basics to Advanced! 💻 I’ve compiled complete JavaScript notes covering everything from ✅ Fundamentals (Variables, Loops, Functions) ✅ ES6+ Concepts (Arrow Functions, Promises, Async/Await) ✅ DOM Manipulation & Events ✅ OOP in JS ✅ Interview Topics & Real-world Examples Perfect for beginners and professionals looking to strengthen their JS skills 💪 📘 Get your JavaScript Complete Notes now and level up your coding journey! #JavaScript #WebDevelopment #Frontend #Coding #Programming #Learning
To view or add a comment, sign in
-
🚀 Did you know? In JavaScript, setTimeout(..., 0) doesn’t actually run immediately. It runs after all Promises and await calls — even if the delay is 0ms 🧠 Why? Because JS runs all microtasks (like Promises and await) before moving on to macrotasks (like setTimeout, setInterval, etc.). 💡 Takeaway: Understanding the event loop helps you fix async bugs and write smoother, predictable code. #JavaScript #Coding #WebDevelopment #EventLoop #AsyncProgramming #CodeTips #Developers #Learning #letsLearnWithPrateek #Day7 Here’s proof 👇
To view or add a comment, sign in
-
-
React Hooks Deep Dive: The Complete Guide (PDF Attached) Following up on my previous post about useMemo and useCallback, I've expanded it into a comprehensive guide covering all 11 essential React Hooks. What's Inside: - useState & useEffect fundamentals - useContext for cleaner state access - useRef for DOM manipulation & persistence - useMemo & useCallback (expanded from last post) - useReducer for complex state logic - useLayoutEffect for synchronous updates - Modern hooks: useId, useDeferredValue, useTransition #React #WebDevelopment #JavaScript #Frontend #ReactHooks #Programming #SoftwareEngineering #WebDev #TypeScript #Development
To view or add a comment, sign in
-
When I started learning JavaScript, I thought if-else was only for checking voting eligibility. 😅 Because every tutorial example was — “Check if the user can vote according to their age.” But when I started building real projects, I realized how wrong I was! In real-world projects, I used if-else in so many unexpected and creative ways. That’s when I learned an important lesson — 👉 No topic is truly “easy,” “medium,” or “hard.” Even the simplest concepts become challenging when you try to implement them in real-life projects. So never underestimate any topic. Because what looks “basic” in theory might be the thing that tests your logic the most in practice. 💪 Tell me about your journey! #JavaScript #CodingJourney #LearningInPublic #WebDevelopment #IfElse #ProgrammerLife #100DaysOfCode #DevCommunity #Motivation #FrontendDevelopment #RockPaperScissorsGame #JSProjects #codenewbie
To view or add a comment, sign in
-
Let’s decode three of the most confusing JavaScript topics 👇 🔹 1. Scope Scope defines where your variables and functions are accessible. Global Scope: Accessible everywhere in the code. Function Scope: Accessible only inside a function. Block Scope: (introduced with let & const) accessible only within { }. 🔹 2. Hoisting JavaScript moves declarations to the top of their scope before code execution. But remember — only declarations are hoisted, not initializations. That’s why var behaves differently than let and const. 🔹 3. TDZ (Temporal Dead Zone) The period between entering a scope and initializing a variable declared with let or const. Accessing a variable in TDZ results in a ReferenceError — it exists but isn’t accessible yet! #JavaScript #FrontendDevelopment #WebDevelopment #Coding #Programming #LearnToCode #Scope #Hoisting #TDZ
To view or add a comment, sign in
-
-
JS Tutorial #3: Functions Title: JS Tutorial #3: Functions in JavaScript Content: Functions are reusable blocks of code. They help organize your program. Code snippet: function greet(name) { return `Hello, ${name}!`; } console.log(greet("Cognothink")); Engagement: Write a function that takes two numbers and returns their sum. Try it out! #JavaScript #WebDevelopment #Coding #LearnJS #Cognothink
To view or add a comment, sign in
-
💻 Day 2 — Learning to Think in Logic 🧠 Today was all about decision making in JavaScript — learning how code “thinks.” I explored conditional statements: if, else if, switch, and even played around with alert, prompt, and error handling. It’s wild how these simple tools form the foundation of every program’s logic. Each concept feels like another small piece of the bigger picture coming together. Still early days — but every line of code is one step closer to clarity and confidence. 🌱 #Day2 #CodingJourney #MERNStack #LearnInPublic #JavaScript
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