Young Coder
Published in

Young Coder

A Simple Introduction to the History API in JavaScript

How to make your single-page web application respect the Back button

Image by PublicDomainPictures from Pixabay

Goal: Use the History API to keep track of changes in your web page

Prerequisites: Basic JavaScript knowledge (events, DOM) and familiarity with the XMLHttpRequest object




Insights into the .NET stack. Thought pieces about the craft of software development. Real advice for teaching kids to code. And a shot of humor.

Recommended from Medium

How to check if a date is between two dates in Power Automate

35. Search Insert Position

Reasons I dislike JavaScript

JavaScript different between let, const and var

The Future of Openwhyd 🎵

Expo SDK 43 beta is now available

If You Like Spring Boot, You’ll Love This Node.js Framework

nestjs logo

Truthy and Falsy values

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Matthew MacDonald

Matthew MacDonald

Teacher, coder, long-ago Microsoft MVP. Author of heavy books. Join Young Coder for a creative take on science and technology. Queries:

More from Medium

6 Tips for Writing a JavaScript Library

Simplified Understanding of Javascript DOM

Eloquent Exercises: Vector Type | Eloquent Javascript, Chapter 6

Cool digital graph

ES2022 features with simple examples