Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
// let username = localStorage.getItem('username') || "my username";
// let userStatus = localStorage.getItem('userStatus') || "edit profile to display status";
// let userProfilePic = localStorage.getItem('userProfilePic');
let usernameInput = document.querySelector("#usernameInput");
let statusInput = document.querySelector("#statusInput");
let profilePicInput = document.querySelector("#profilePicInput");
document.getElementById("usernameInput").innerHTML = localStorage.getItem("username") || "My username";
document.getElementById("statusInput").innerHTML = localStorage.getItem("userStatus") || "Edit profile to display status";
document.getElementById("profilePicInput").src = localStorage.getItem("userProfilePic") || "img/profile.jpeg";;