Skip to content

Commit

Permalink
added developer map
Browse files Browse the repository at this point in the history
  • Loading branch information
jehovahsays committed Jun 17, 2024
1 parent d6c7b2d commit 3a98caf
Showing 1 changed file with 117 additions and 0 deletions.
117 changes: 117 additions & 0 deletions map.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="user-scalable=yes, initial-scale=1.0, maximum-scale=1.0, width=device-width" />
<style>
list {
list-style: none;
padding: 0;
margin: 0;
position: fixed;
top: 0;
left: 0;
right: 0;
}
.handle {
margin: 0;
position: fixed;
z-index: 1000;
top: 0;
left: 0;
font-size: 1.0em;
padding: 10px;
animation: fadeIn 0.5s ease-in-out;
}
.handle:last-child {
position: fixed;
top: 0;
left: 0;
right: 0;
border-bottom: none;
}

@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
}
</style>

<title>map</title>

</head>
<body>

<script>
function handle() {

let input = document.getElementById('list').value;

input = input.toLowerCase();

let x = document.getElementsByClassName('handle');

for (i = 0; i < x.length; i++) {

if (!x[i].innerHTML.toLowerCase().includes(input)) {

x[i].style.display = "none";

}

else {

x[i].style.display = "list-item";

}

}

}

</script>

<br><br>
<input
id="list"
onkeyup="handle()"
onkeydown="return event.key != 'Enter';"
name="search"
placeholder="search database"
type="search"
maxlength="30"
autocomplete="true"
autocorrect="on"
autocapitalize="off"
spellcheck="true">

<br><br>
responsive html, js, and css unordered list search engine database<br>
<p>
This is how i created the website from scratch.<br>
id="list" binds the html unordered list to the search engine.<br>
class="handle" binds search queries CSS and Javascript functions<br>
Open this file in your text editor and view the code<br>
you can edit anything and everything until it breaks<br>
when the program breaks it was probably due to you not<br>
binding the function names. they names must be a match<br>
html,js,css and php are always<br>
matching names id="list" class="handle"<br>
</p>

</body>
</html>

<ul id="list">
<a href="./en/about.html"class="handle">about</a><br>
<a href="./en/edit.html"class="handle">edit</a><br>

0 comments on commit 3a98caf

Please sign in to comment.