Saving information to local storage can be incredibly useful and can make for a far better user experience in your apps. Imagine if you had to log in from scratch every time you wanted to look at Twitter! By using the localStorage method in React, we can make save certain information to the user’s machine […]
When using React, one of the easiest ways to make style changes to an element on an event is by using state. In this example, we’ll be looking at how we can change the corners of a button from pointed to rounded on click. I know this isn’t something you’re likely to be doing on […]
When it comes to React hooks, useState is one of the most useful. It can be used to capture information that the user inputs and use it elsewhere in your app. For example, you could use it to capture the option a user chooses in a dropdown menu or in a series of radio buttons […]
I’ve become a bit addicted to Web Development Challenge sites. It’s a great way to practice the things you already know, learn new ways of solving problems and to prepare for interviews. Some sites charge to use them but in this post I’ll take you through some of the best free sites out there. HackerRank […]
In this post, I’ll be taking you through a simple way to set up a new React App. First, you’ll need to install Node.js. If you’re not sure if you have it you can check using Command Prompt or Terminal. If you’ve never use the Command Prompt or Terminal before, it is an application which […]
Welcome to this shiny new blog. I’ll be writing about everything website and tech related. From useful sites, to learning resources, to challenges I’ve overcome and just anything else that I fancy writing about. Check in again soon to see what I’ve been up to.