by Floyd Hartford | Sep 20, 2022 | Javascript, Website Development
How to change the href value of an <a> tag after the link click using jQuery: $(document).on(‘click’, ‘a’, function(e) { e.preventDefault(); // Simulate a link click to a new URL. window.location.href =...
by Floyd Hartford | Jul 25, 2022 | Javascript, Website Development
One perpetual objective in website development — especially if you’re a website developer at a marketing agency managing a large number of clients — is how can you develop websites faster? As in, how can you do more work in less time, so you can be...
by Floyd Hartford | Apr 16, 2021 | Javascript, Website Development
Here’s 3 Git commands I think every front-end developer needs to know to help track and manage your web development projects. Diff, merge, and commit changes to keep your project, branches, and development team in-sync. Diff a Specific File Between Two Branches...
by Floyd Hartford | Mar 14, 2021 | Javascript, React, Website Development
So, you want to use Axios to fetch WordPress post data from WP-JSON REST API endpoints in react, huh? Maybe you’re doing some WP theming or creating a front-end for a headless WordPress website and you want to pull in post data to display on the page. Whatever —...
by Floyd Hartford | Mar 10, 2021 | Javascript, React, Website Development
I’ve coded a simple weather app using React. Pretty cool, right? The React app hooks into a free weather API from Open Weather (https://openweathermap.org/) and lets you search for the current weather conditions in a given location. Inspiration for this project...
by Floyd Hartford | Mar 10, 2021 | Javascript, Website Development
Coding a to-do list project is kind of like a right of passage when you’re learning how to use React. In creating a to-do list React app, you can learn about state, props, and components. State holds persistent data, so the GUI can be manipulated without...