From 387f43d9bd15f1f3b6cf37087ee6345526828e7e Mon Sep 17 00:00:00 2001 From: Meira Tompkins Date: Tue, 3 Mar 2020 15:11:11 -0500 Subject: [PATCH] changes --- css/main.css | 5 ++++- index.html | 6 +----- js/main.js | 5 ++++- js/profile.js | 2 ++ 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/css/main.css b/css/main.css index 1544e14..4e8a1c5 100644 --- a/css/main.css +++ b/css/main.css @@ -111,4 +111,7 @@ a:link { display: flex; -webkit-box-pack: center; justify-content: center; - } \ No newline at end of file + } + .smallImage { + width:20px; +} \ No newline at end of file diff --git a/index.html b/index.html index 6e4e8f2..686bb51 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,7 @@
-

Sending messages as {UserName} {Status}

+

Sending messages as {UserName} {Status}

~Meira's Mobile App Chat Room~

Click!
@@ -25,10 +25,6 @@ - - - - \ No newline at end of file diff --git a/js/main.js b/js/main.js index 16a4aa2..868fdfa 100644 --- a/js/main.js +++ b/js/main.js @@ -64,5 +64,8 @@ document.querySelector("#sendBtn").addEventListener('click', function(){ let date_str = month.toString() + "/" + curr_date.getDate().toString() + "/" + curr_date.getFullYear().toString(); }); - + + document.getElementById("usernameInput").innerHTML = localStorage.getItem("userName"); + document.getElementById("statusInput").innerHTML = localStorage.getItem("userStatus"); + document.getElementById("profilePicInput").innerHTML = localStorage.getItem("userProfilePic"); \ No newline at end of file diff --git a/js/profile.js b/js/profile.js index 3c52903..567fe38 100644 --- a/js/profile.js +++ b/js/profile.js @@ -25,3 +25,5 @@ profileSaveInput.addEventListener( 'click', function(e) { saveProfileImageLocally(); }); + +