💡 Exploring JavaScript Math methods! I’ve shared a demo that shows how to: Round numbers and find ceilings/floors (Math.round(), Math.ceil(), Math.floor()) Generate random numbers (Math.random()) Find max/min values from a set (Math.max(), Math.min()) Perform power and square root calculations (Math.pow(), Math.sqrt()) Check out the full demo on GitHub: 🔗 https://lnkd.in/ds2Fqqxw #JavaScript #FullStack #100xDevs #WebDevelopment #Coding #100DaysOfCode
"JavaScript Math methods: A demo on GitHub"
More Relevant Posts
-
🚀Day 85 of #100DaysOfCode 👉 Today I explored the JavaScript Math object. It’s a built-in tool packed with methods for quick math calculations—no setup needed. examples: ▪️Math.ceil(4.6) --> rounds to 5 ▪️Math.floor(4.9) --> rounds down to 4 ▪️Math.pow(2, 3) --> returns 8 ▪️Math.abs(-5) --> returns 5 (gives positive number) Math object makes coding calculations simple and fast. #JavaScript #MathObject #LearnToCode #100DaysOfCode
To view or add a comment, sign in
-
-
📦 Day 38 — Arrays and Objects in JavaScript Today at Sheryians Coding School Cohort 2.0, I explored two of the most powerful data structures in JavaScript — Arrays and Objects. 💻✨ Here’s what we covered in class: ✅ Creating and accessing arrays ✅ Array methods like push(), pop(), shift(), unshift(), and length ✅ Looping through arrays using for and forEach ✅ Understanding objects — key–value pairs and how they store structured data ✅ Accessing and modifying object properties ✅ Combining arrays and objects for real-world examples Takeaway: Arrays and objects are the core of how JavaScript handles data. Learning them properly feels like unlocking the building blocks of every real-world project. 🚀 #Day38 #ShreyiansCodingSchool #Cohort2 #JavaScript #Arrays #Objects #FrontendDevelopment #CodingJourney #LearnByDoing #WebDevelopment
To view or add a comment, sign in
-
-
Interactive Academic Registration Flow Chart This chart illustrates the interactive process of submitting an academic registration form online. It shows how the information moves from the user’s browser to the server and back to confirm success. t’s an interaction between the user interface (frontend) and a remote server (Formspree). Goal: Provide a smooth, interactive experience for online form submission without reloading the page. https://lnkd.in/eGtN7CCi https://lnkd.in/eeNktYBc https://lnkd.in/eXUuusW9 #structuralia #lataminvesting #plotly #javascript #python
To view or add a comment, sign in
-
Day 113: Deep Dive into Core JavaScript & DSA Fundamentals! I spent today drilling into fundamental programming concepts, using multiple approaches for each problem to maximize my understanding and coding flexibility. This is the crucial prep work before jumping back into advanced Data Structures and Algorithms. 🎯 Today's Focus Areas: String Manipulation: Implemented String Reversal using four distinct methods: Built-in methods (.split(), .reverse(), .join()) Iterative for loop Recursion with substring() Recursion with slice() (and noted the difference between slice and substring on negative indices!) Mathematical Logic: Factorial Finder: Solved iteratively and recursively. Sum of Digits: Solved using string conversion, iterative while loop, and recursion. Power Calculation and Simple Interest Calculation. Conditional & Array Logic: Created a precise function to check for a Leap Year (year % 4 == 0 && year % 100 !== 0 || year % 400 == 0). Found the Biggest Number in an array without using the .sort() method, then compared it with Math.max(). Implemented robust Palindrome Checkers (for individual words and for finding all palindromic substrings). Wrote functions for Vowel/Consonant Counting, Finding Factors, and Calculating Average. Determined the Smallest of Three Numbers using conditional operators and Math.min(). It's been a great exercise in code efficiency and algorithmic thinking. Feeling much more confident and ready to accelerate into my DSA curriculum soon! #JavaScript #DSA #CodingChallenge #ProblemSolving #FullStack #Day113 #LearningInPublic
To view or add a comment, sign in
-
💡 Brute Force vs. Mathematical Logic — Which One Wins? ⚔️ Tried a small coding challenge today: 👉 Find two numbers in an array whose sum equals a target (classic 2-sum problem 😎). code: https://lnkd.in/gtRVzcZY 🧠 Observation: Both give the same result — but the mathematical approach is cleaner, faster, and more efficient 💪 Sometimes, it’s not just about solving the problem… It’s about solving it smartly. 🚀 #JavaScript #CodingFun #LogicBuilding #ProblemSolving #WebDevelopment #LearnToCode #Efficiency #DeveloperLife
To view or add a comment, sign in
-
-
Day 38 — More Functions & Arrays | 2.0 Job-Ready AI-Powered Cohort Sheryians Coding School🚀 Today’s session covered deeper JavaScript fundamentals: ✅ More Function Concepts Anonymous, higher-order, callback, first-class functions Pure vs impure functions ✅ Understanding Scope Global, local, block scope ✅ Closures What closures are and why they’re useful ✅ Arrays Creating arrays, accessing elements Methods: push, pop, shift, unshift, filter, indexOf, spread operator Looping arrays with for and forEach ✅ Objects Creating, accessing, modifying objects Nested objects & object methods Bit by bit, JavaScript is getting clearer and more powerful 🔥 #JavaScript #WebDevelopment #Frontend #SheryiansCodingSchool #Arrays #Functions
To view or add a comment, sign in
-
-
Five years ago, nobody thought Python would beat JavaScript. Yet, here we are — the tech world flipped again. Frameworks change. Tools evolve. But the one thing that never goes out of style? Strong fundamentals. If you want to thrive in tech, stop chasing trends. Start mastering the concepts that keep you relevant — no matter what language wins next. Learn with confidence at LearnWithPride.co.uk
To view or add a comment, sign in
-
-
Most low-code platforms promise speed, but sacrifice flexibility. Developers are often stuck with JavaScript, proprietary tooling, and limited control. At Betty Blocks, we think differently. With the Wasm-based Action Builder, high-code flexibility finally meets low-code speed. ✅ Build reusable components in Rust, C#, Python, Typescript or Go ✅ Import them into Betty Blocks as visual, drag-and-drop blocks of functionality ✅ Empower both high-code and low-code teams to build together ✅ Deliver complex, enterprise-grade solutions, faster than ever No more language lock-in. No more silos. Just one collaborative platform where every developer can thrive. Explore the 𝗪𝗮𝘀𝗺-𝗯𝗮𝘀𝗲𝗱 𝗔𝗰𝘁𝗶𝗼𝗻 𝗕𝘂𝗶𝗹𝗱𝗲𝗿 and see how low-code becomes limitless ➡️ https://lnkd.in/eEmjgQTq #blog #wasm #lowcode #lowcodeplatform #lowcodespeed #bettyblocks #lowcodeinsights #wasmbasedactionbuilder
To view or add a comment, sign in
-
-
"Just wrapped up #100Devs Class 31 by @LeonNoel: ‘Inheritance & Polymorphism in JavaScript’! 🚀 Dived deep into OOP concepts like encapsulation, abstraction, inheritance, and polymorphism, with hands-on examples and practical code walkthroughs. Learning how to write scalable, maintainable JS by using classes, constructors, and the power of object-oriented paradigm. Shubham Kumar Singh.
To view or add a comment, sign in
-
🚀 Mastering Topological Sorting in JavaScript Today, I implemented Topological Sort using Kahn’s Algorithm in JavaScript! 🔥 📘 What it does: Topological sorting is used to order tasks or dependencies — like scheduling jobs, resolving build orders, or managing dependencies in a graph (DAG). 🧠 Core idea: Build an adjacency list to represent the graph. Calculate the indegree (incoming edges) for each node. Use a queue to process nodes with indegree = 0. Remove edges as you go, pushing new nodes into the queue once their indegree becomes 0. #JavaScript #Algorithms #TopologicalSort #Coding #Learning
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