Skip to content

Commit

Permalink
grammar edit
Browse files Browse the repository at this point in the history
  • Loading branch information
NecroticPhantom authored Jul 16, 2024
1 parent a40983c commit db33481
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion about-me.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script src="js/scripts.js"></script>
<title>About Me</title>
</head>
<body onload="localStorage()">
<body onload="localStorageStuff()">
<div class="container" id="pageLinksContainer">
<a href="https://necroticphantom.github.io" style="text-decoration: none;">
<div class="pageLinks" id="homeLink">
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script src="js/scripts.js"></script>
<title>Home</title>
</head>
<body onload="localStorage()">
<body onload="localStorageStuff()">
<div class="container" id="pageLinksContainer">
<a href="https://necroticphantom.github.io" style="text-decoration: none;">
<div class="pageLinks currentPageLink" id="homeLink">
Expand Down
6 changes: 4 additions & 2 deletions js/scripts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
function localStorage() { //add accept and decline (if decline: nothing, if accept: make a local storage for the accept and use getItem so no other local storage is used if declined)
if (window.localstorage.getItem("localStorageAlert") === null) {
//fix localstarage
//add accept and decline (if decline: nothing, if accept: make a local storage for the accept and use getItem so no other local storage is used if declined)
function localStorageStuff() {
if (localstorage.getItem("localStorageAlert") === null) {
window.alert("IMPORTANT:/n/nThis site uses local storage to store data about preferences on the site.");
localstorage.localStorageAlert = True;
};
Expand Down
2 changes: 1 addition & 1 deletion portfolio.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script src="js/scripts.js"></script>
<title>Portfolio</title>
</head>
<body onload="localStorage()">
<body onload="localStorageStuff()">
<div class="container" id="pageLinksContainer">
<a href="https://necroticphantom.github.io" style="text-decoration: none;">
<div class="pageLinks" id="homeLink">
Expand Down
2 changes: 1 addition & 1 deletion programming-languages.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script src="js/scripts.js"></script>
<title>Programming Languages</title>
</head>
<body onload="localStorage()">
<body onload="localStorageStuff()">
<div class="container" id="pageLinksContainer">
<a href="https://necroticphantom.github.io" style="text-decoration: none;">
<div class="pageLinks" id="homeLink">
Expand Down

0 comments on commit db33481

Please sign in to comment.