What I am trying to do is when someone navigates to my website, it will ask their name or simply have a generic and say "Not you, click here". Afterwards, in the corner it will display "Welcome back, [name]." However, this is a GitHub Pages website so I am not certain if this is possible, and it would have to simply leave out the name.
It does work to simply hardcode a name or have none at all, but without some sort of database or ability to store and retrieve credentials I don't know how I can achieve this.
All I have currently in the webpage is
<p style="text-align:right; color:gray"><i>Welcome back.</i></p>.
I was unable to find something similar to my question on Google, I'm not certain on how to word it besides keywords that don't quite get me where I'm going.
I don't believe that the website can write to the user's system without some sort of cookies, but I do not know much about storing data with them. I'm guessing I will need to take advantage of the HTML5 window.LocalStorage but I am not sure how to implement it.
Essentially, is there a way to store someone's name in cookies, website cache, or somewhere not on the server end, as from what I can tell GitHub Pages is read-only.