Posts within the JavaScript category

Featured image for "Building a Pokédex with Astro"

Building a Pokédex with Astro

Astro is a relatively new static-site generator and server-side rendering framework for JavaScript. In this tutorial I'll build a Pokédex with Astro and the PokéAPI

Featured image for "Cheating at online games with JavaScript"

Cheating at online games with JavaScript

Online games are fun to play, cheating at them with JavaScript is even more fun.

Featured image for "Form validation using React hooks"

Form validation using React hooks

In this tutorial I'll show you how you can make a generic React hook to handle form validation.

Featured image for "Generating social cards with Gatsby"

Generating social cards with Gatsby

I always wanted some cool looking social cards, and in this tutorial I'll cover how you can automatically generate them for your posts with Gatsby."

Featured image for "Creating your own nodes with Gatsby"

Creating your own nodes with Gatsby

So far, we’ve seen how to use WordPress, Craft CMS and JSON data with Gatsby, but what if you want to use other data with Gatsby, which isn…

Featured image for "Working with Gatsby and Craft CMS"

Working with Gatsby and Craft CMS

In this tutorial I'll build a blazing-fast static website with Gatsby on top of a Craft CMS blog.

Featured image for "Using JSON with Gatsby"

Using JSON with Gatsby

Earlier, we've seen how we can use the gatsby-source-wordpress plugin to retrieve blog posts using the WordPress API. In this tutorial, we'll explore another possible source of information that Gatsby can use, such as JSON.

Featured image for "Writing your own Gatsby plugin"

Writing your own Gatsby plugin

So far, I've written several tutorials about using Gatsby. What they have in common, is that they all depend on certain Gatsby plugins. In this tutorial, I'll explore the options you have when creating your own Gatsby plugin.

Featured image for "Adding syntax highlighting with WordPress and Gatsby"

Adding syntax highlighting with WordPress and Gatsby

For Markdown, there are plugins to add syntax highlighting to your Gatsbby website. In this tutorial we'll explore the alternatives for adding syntax highlighting through WordPress.

Featured image for "Optimize loading images with WordPress and Gatsby"

Optimize loading images with WordPress and Gatsby

Displaying embedded images within WordPress posts using Gatsby is officially unsupported, but in this tutorial we'll explore alternatives.