Byte
In web development, we often need to communicate with servers to send or receive data. This is typically done via HTTP requests, and one of the most common types of requests is the POST request. In this Byte, we're going to explore how to use the Fetch API to send...
Scott Robinson
Article
In this article we'll be showing how to select and manipulate CSS pseudo-elements, specifically ::before and ::after, using JavaScript and jQuery. As a web developer, you've likely at least seen these pseudo-elements in a CSS file, but may not have had the chance to interact with them programmatically. This article...
Welcome to this Byte, where we'll take a look at JavaScript event handling, more specifically, the window.onload and document.onload events. These two events are commonly used in web development, but they aren't the same thing. Let's see how they're different, and when to use each. JavaScript Event Handling...
React.js uses a number of unique concepts that can initially seem a bit confusing. One such concept is the use of keys, particularly when working with component arrays. Why and how do we use these keys? This article aims to explain the use of unique keys for array children...
In this Byte we'll be taking a look at the concept of passing props to this.props.children in React. This topic is an important part of working with React's component-based architecture. By the end of this Byte, you should understand how to pass props to children components, and why...
There are a number of reasons why you might want to refresh a webpage programmatically using JavaScript. Maybe you want to refresh a page after a certain event or action, or perhaps you need to reload a page after a specific amount of time. In this Byte, we're going to...
As a web developer, you've likely encountered the need to persist data across different sessions or even tabs in a browser. This is where HTML5's localStorage and sessionStorage come in handy. These two web storage objects allow you to store data right in the user's browser, no server-side code required....
In this Byte, we'll explore how to add options to a <select> dropdown list using jQuery. The <select> element is a frequently used element in HTML forms, allowing users to choose an option from a predefined list. However, there quite a few situations where you need...
When working with web applications, it's common to need to send or receive data from a server. This data is often in the form of a JSON object. In this Byte, we'll explore how to serialize data to JSON format using jQuery, a popular JavaScript library. Why Serialize for AJAX?...
© 2013-2024 Stack Abuse. All rights reserved.