0

HI!Can someone help me how to connect my log out button into my log in page.

Html

7th Apr 2020, 7:31 AM
Angelica Jaella Dalangin
Angelica Jaella Dalangin - avatar
3 Answers
+ 4
You can do this by following the steps below 1- Make button like this put in it the name of function in javascript <button onclick="dis()">...</button> 2 -Create a div with an id, for example #li, and put in it whatever you want 3- In css, the display format for id display: none 4- Make function by javascript example function dis(){ document.getElementById("li").style.disply= block; } I did these steps in my program but it did not work, but these are the steps
7th Apr 2020, 10:54 PM
Qutaba Qais Mahmood
Qutaba Qais  Mahmood - avatar
+ 1
How did you made your login session?
7th Apr 2020, 9:31 AM
Toni Isotalo
Toni Isotalo - avatar
0
https://www.w3schools.com/code/tryit.asp?filename=GDLGTCLAUJFJ This is my source code I do my log in page like this
7th Apr 2020, 12:16 PM
Angelica Jaella Dalangin
Angelica Jaella Dalangin - avatar