diff --git a/main/sessionStorage.js b/main/sessionStorage.js new file mode 100644 index 0000000..30fc403 --- /dev/null +++ b/main/sessionStorage.js @@ -0,0 +1,9 @@ +sessionStorage.setItem("uni" ,"Kandahr university"); +sessionStorage.setItem("lfaculty" ,"CS") +sessionStorage.setItem("subject", "Networking") +var user= sessionStorage.getItem("uni"); + +document.getElementById("idOf").innerHTML="University:"+user; +//sessionStorage.removeItem("faculty"); +//sessionStorage.clear(); +//cookies