How to make page html appear when you use the first time only | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to make page html appear when you use the first time only

How to make page html appear when you use the first time only like an introduction

24th Jan 2017, 10:43 AM
Mohammed Elhafed Messini
Mohammed Elhafed Messini - avatar
6 Answers
+ 3
Javascript can store data on web browsers, client-side ( with 'cookies' and 'localStorage' ): you must verif and set a variable to display an hidden element on the top of your 'normal' page... Do not the contrary ( hide the introduction element if user was previously coming ): in case of no support of JS on client side, your page would stay innaccessible ^^ ( when in masking by default, if no JS at user browser, the 'normal' page is still accessible )...
24th Jan 2017, 11:23 AM
visph
visph - avatar
+ 2
I don't have ( and don't want ) common 'socials' accounts ^^ I'm a free electron... If you want a little bit more 'private' ( not really, but less 'public' ) channel to communicate, use commentaries on my codes... If a private mode will be required, I should provide an email adresse, but only if necessary: I don't search friends, I'm a free LONESOME electron :P
25th Jan 2017, 6:58 AM
visph
visph - avatar
+ 1
thank you you are always answer me thank you very much if you have Facebook or Skype or any other send me it please
24th Jan 2017, 5:01 PM
Mohammed Elhafed Messini
Mohammed Elhafed Messini - avatar
+ 1
ok send me your email address
25th Jan 2017, 9:14 AM
Mohammed Elhafed Messini
Mohammed Elhafed Messini - avatar
+ 1
When I said "If a private mode will be required", I was thinking "if I think it will be required, after starting to discuss in code commentaries section and showing me the necessity of a more private exchange" ^^
25th Jan 2017, 9:18 AM
visph
visph - avatar
+ 1
I did not understand well
25th Jan 2017, 9:24 AM
Mohammed Elhafed Messini
Mohammed Elhafed Messini - avatar