HTML DOM – localStorage
I was trying to make a basic sign-up/login thingy using localStorage in JS <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <h1>login</h1> <h2>username</h2> <input id = "userSave"> <h2>password</h2> <input id = "passSave"> <button onclick…