Use AJAX with WordPress in 3 waysServer Side Code Let鈥檚 start by creating function and two hooks in your functions.php file in root of your active theme folder. The name of the function will be used in client side to make a network request, that鈥檚 how WordPress identifies which func...Oct 10, 2022 路 3 min readrexwebmedia.hashnode.dev
What I learned in 1 year of web development. Advises from My MistakesIf you are a beginner then this is definitely a good read. Use Bootstrap. Some people might suggest you to use Tailwind, but that will be a lot of time waste because you'll need to create components like modals, dropdowns from scratch. So just use a...Mar 7, 2021 路 2 min readrexwebmedia.hashnode.dev
Book Recommendations100 Things by Susan Weinschenk 301 Best Questions to Ask on Your Interview (2nd Edition) by John Kador Atomic Habits by James Clear Eat That Frog! by Brian Tracy Eloquent JavaScript (3rd edition) by Marijn Haverbeke Get Paid More And Promoted Faster ...Mar 5, 2021 路 1 min readrexwebmedia.hashnode.dev
Resources for Web DevelopersLast Updated: 5 March, 2021 Softwares Visual Studio Code Git NodeJS Figma Fonts Tools IcoMoon UI Design Tools Carbon: Create and share beautiful images of your source code Coolors UI Gradients CSS Tools Loading.io: Loading Icons and Animation...1MMar 5, 2021 路 1 min readrexwebmedia.hashnode.dev
Shave extra characters from text with one line of codeThis code is inspired from ShaveJS and uses that approach in one line. First of all, here's the code in one line. const shave=(s, n)=>(s.length>n) ? s.substr(0, n-2)+'..' : s; This function takes two parameters, string and length. Then truncates (or ...Mar 4, 2021 路 1 min readrexwebmedia.hashnode.dev