Skip to content

Commit ef377ba

Browse files
enhanced features
1 parent 380a229 commit ef377ba

File tree

3 files changed

+62
-0
lines changed

3 files changed

+62
-0
lines changed

progressbarvisibility.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#progressBarContainer {
2+
position: fixed;
3+
top: 0;
4+
left: 0;
5+
width: 100%;
6+
height: 4px;
7+
background: rgba(0,0,0,0.1);
8+
}
9+
#progressBar {
10+
width: 0;
11+
height: 4px;
12+
background-color: #0366d6;
13+
transition: width 0.25s ease-out;
14+
}
15+

searchsuggestions.html

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<input type="search" id="search-input" placeholder="Search tools...">
2+
<ul id="suggestions"></ul>
3+
4+
<script>
5+
const searchInput = document.getElementById('search-input');
6+
const suggestionsList = document.getElementById('suggestions');
7+
8+
const suggestions = ['GitHub', 'VS Code', 'Trello', 'Debuggy', 'RescueTime', 'OWASP ZAP'];
9+
10+
searchInput.addEventListener('input', () => {
11+
const value = searchInput.value.toLowerCase();
12+
suggestionsList.innerHTML = '';
13+
const filteredSuggestions = suggestions.filter(suggestion => suggestion.toLowerCase().includes(value));
14+
filteredSuggestions.forEach(suggestion => {
15+
const li = document.createElement('li');
16+
li.textContent = suggestion;
17+
suggestionsList.appendChild(li);
18+
});
19+
});
20+
</script>
21+
22+
<style>
23+
#suggestions {
24+
list-style: none;
25+
padding: 0;
26+
position: absolute;
27+
background-color: white;
28+
width: 100%;
29+
max-width: 600px;
30+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
31+
}
32+
33+
#suggestions li {
34+
padding: 10px;
35+
cursor: pointer;
36+
}
37+
38+
#suggestions li:hover {
39+
background-color: #f0f2f5;
40+
}
41+
</style>

toolsforsmallerscreen.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@media (max-width: 768px) {
2+
.tool-listing {
3+
width: 100%;
4+
margin: 0 auto;
5+
}
6+
}

0 commit comments

Comments
 (0)