![how to check if a number is even in JavaScript how to check if a number is even in JavaScript](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2gu6hr9c%2Fproduction%2Fa8ec0426112a30ce801d2e6e4f8cae56693bb736-1920x1080.jpg&w=1200&q=75)
May 5, 2024
How to Check If a Number is Even in JavaScript? [3 Methods]
In JavaScript, to see if a number is even, just check if it divides evenly by 2 using the `%` operator. If there's no remainder, it's Even.
Faruk Sardar
•JavaScript
![make horizontal scroll using nextjs make horizontal scroll using nextjs](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2gu6hr9c%2Fproduction%2F2f562dffaeb29f8528334ffa1412f950d083de66-1280x720.jpg&w=1200&q=75)
Apr 14, 2024
How to Make Horizontal Scroll using Next.JS and Framer-Motion?
If you use Next.js for building websites and want to add a Horizontal Scroll component then keep reading this blog post.
Faruk Sardar
•Next.js