0
HI!Can someone help me how to connect my log out button into my log in page.
Html
3 ответов
+ 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
+ 1
How did you made your login session?
0
https://www.w3schools.com/code/tryit.asp?filename=GDLGTCLAUJFJ
This is my source code
I do my log in page like this