Skip to content

Commit

Permalink
Updated cases and fixed error with ids
Browse files Browse the repository at this point in the history
  • Loading branch information
harrymkt committed Apr 10, 2024
1 parent 8ead210 commit 66e0994
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<script src="/scripts/all.js"></script>
<script src="/scripts/nav.js"></script>
<script src="/scripts/footer.js"></script>
<script>sett("about");</script>
<script>sett("About");</script>
<style>
#myname
{
Expand Down
4 changes: 2 additions & 2 deletions community/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<meta name="author" content="harry min khant">
<meta name="keywords" content="harry, min, khant, blind, social, visually impaired, computer, pc, mobile, android">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="this is a list of useful and helpful communities.">
<meta name="description" content="This is a list of useful and helpful communities.">
<link href="/css/style.css" rel="stylesheet" type="text/css">
<script src="/scripts/functions.js"></script>
<script src="/scripts/all.js"></script>
<script src="/scripts/nav.js"></script>
<script src="/scripts/footer.js"></script>
<script>sett("useful communities");</script>
<script>sett("Useful communities");</script>
</head>
<body>
<script>navstart();</script>
Expand Down
2 changes: 1 addition & 1 deletion community_policy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="author" content="harry min khant">
<meta name="keywords" content="harry, min, khant, blind, social, visually impaired, computer, pc, mobile, android">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="community policy for all communities created by Harry Min Khant">
<meta name="description" content="Community policy for all communities created by Harry Min Khant">
<link href="/css/style.css" rel="stylesheet" type="text/css">
<script src="/scripts/functions.js"></script>
<script src="/scripts/all.js"></script>
Expand Down
14 changes: 7 additions & 7 deletions config/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
<script src="/scripts/all.js"></script>
<script src="/scripts/nav.js"></script>
<script src="/scripts/footer.js"></script>
<script>sett("Site config");</script>
<script>sett("Site configuration");</script>
</head>
<body>
<script>navstart();</script>
<h1 id="mainc">Site config</h1>
<h1 id="mainc">Site configuration</h1>
<p>Here you can change the preferences for the site.</p>

<form>
Expand Down Expand Up @@ -48,10 +48,10 @@ <h1 id="mainc">Site config</h1>
{
var tf=localStorage.getItem("timeformat");
if(tf!=="12") tf="24";
document.getElementById("timeformat").textContent="current time format, "+tf+" hour format";
document.getElementById("timeformat").textContent="Current time format, "+tf+" hour format";
var vu=localStorage.getItem("visitname");
if(vu==="" || vu===null) vu="visiter";
document.getElementById("visitname").textContent="current name, "+vu;
document.getElementById("visitname").textContent="Current name, "+vu;
}
startform();
function formsub()
Expand All @@ -62,15 +62,15 @@ <h1 id="mainc">Site config</h1>
{
if(tf!=="12") tf="24";
localStorage.setItem("timeformat",tf);
document.getElementById("timeformat").textContent="current time format, "+tf+" hour format";
document.getElementById("timeformat").textContent="Current time format, "+tf+" hour format";
o++;
}
var vu=document.getElementById("visitnameinp").value;
if(vu!==null && vu!=="")
{
if(vu==="" || vu==null) vu="visiter";
localStorage.setItem("visitname",vu);
document.getElementById("visitname").textContent="current name, "+vu;
document.getElementById("visitname").textContent="Current name, "+vu;
o++
}
var msg=(o>0?o+" options saved":"options unchanged");
Expand All @@ -85,7 +85,7 @@ <h1 id="mainc">Site config</h1>
}
localStorage.clear();
startform();
var msg="All the site config has been cleared.";
var msg="All the site configurations have been cleared.";
alert(msg);
}
addfooter();
Expand Down
2 changes: 1 addition & 1 deletion contact/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<script src="/scripts/all.js"></script>
<script src="/scripts/nav.js"></script>
<script src="/scripts/footer.js"></script>
<script>sett("contact");</script>
<script>sett("Contact");</script>
</head>
<body>
<script>navstart();</script>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="container">
<h1 id="mainc">Welcome</h1>
<p id="welcome"></p>
<script>document.getElementById("welcome").textContent="Hello "+get_storage("visitname","visiter")+", thanks for stopping bye! I am <b id="ownername"></b>, and I hope my website will give you useful contents and creativities. Have a look around!";</script>
<script>document.getElementById("welcome").textContent="Hello "+get_storage("visitname","visiter")+", thanks for stopping bye! I am <b id=\"ownername\"></b>, and I hope my website will give you useful contents and creativities. Have a look around!";</script>
<p>The navigation menu is located at the top. The footer section is located below. In the footer you'll found some links, including to my social profiles and other useful links.</p>

</div>
Expand Down
2 changes: 1 addition & 1 deletion projects/games/blackjack/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<script src="/scripts/all.js"></script>
<script src="/scripts/nav.js"></script>
<script src="/scripts/footer.js"></script>
<script>sett("blackjack");</script>
<script>sett("Blackjack");</script>

</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion projects/games/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script src="/scripts/all.js"></script>
<script src="/scripts/nav.js"></script>
<script src="/scripts/footer.js"></script>
<script>sett("games");</script>
<script>sett("Games");</script>

</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion projects/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script src="/scripts/all.js"></script>
<script src="/scripts/nav.js"></script>
<script src="/scripts/footer.js"></script>
<script>sett("projects");</script>
<script>sett("Projects");</script>

</head>
<body>
Expand Down

0 comments on commit 66e0994

Please sign in to comment.