List the next upcoming same date of current date in HTML

Use the moment library as below <script src=”https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js”></script> let nextMonth = formatDateObj.clone().add(i, ‘months’); nextMonth.format(‘DD/MM/YYYY’); Suppose if the current date is 29/12/2023 Next date will be as per above code is 29/01/2024

You don’t need JavaScript for that

The rule of least power It’s one of the core principles of web development and it means that you should Choose the least powerful language suitable for a given purpose. On the web this means preferring HTML over CSS, and then CSS over JS. JS is the most versatile language out of the three because you’re… Continue reading You don’t need JavaScript for that

Improve the quality of the captured image through HTML

We can follow the below steps to Higher Video Resolution: Improved the resolution of the video feed by specified the width and height properties. Canvas Size: Made the canvas element (<canvas>) has the same dimensions as the video feed to avoid any scaling issues. You can set the canvas size dynamically based on the video… Continue reading Improve the quality of the captured image through HTML

How to remove the blue highlight of button on mobile?

When trying to create buttons, links or input fields using latest development technologies like next js, react and angular etc there might be some times a default background color may appear. This can cause bugs for the developed website since they create a different background color different from the mockup. As solution we can use… Continue reading How to remove the blue highlight of button on mobile?