4 followers
Web UI Developer · Web UI Performance · Navi Mumbai · Founder of nerul.in
If you want the text in a DIV or a paragraph element centered we use class='text-center' in Bootstrap 5. <p class="text-center">Center aligned text on all viewport sizes.</p> https://getbootstrap.com/docs/5.1/utilities/text/ But this will be centered...
Adding one to an upper case character using the increment operator
At work we use Windows 10 Ent edition and have a Django 2.2 website that is run on the developers' localhost via VirtualBox with Ubuntu 20.04 since the beginning. It was good but one had to constantly do sys-admin for the Ubuntu VM. That wasn't a big...
So, there's a lot of sample code out there for implementing Google's reCaptcha V3's (invisible) system. Most of them are using some extra code before Google updated their documentation for data attributes to the button tag. In most implementations, g...
When exporting a NextJS application ("build": "next build && next export") to the default out folder, the static pages get exported to .html files. The issue with this is, when navigating to mydomain.com/about from the home page (mydomain.com) it wor...
If you want to add a class (className) to the body tag of a a NextJS page, you'll need to add it via JavaScript in the useEffect (or componentDidMount if you're using class-based components) Lifecycle function. This adds TailWindCSS's font-light and ...