mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-06 06:20:30 +02:00
more sites and languages coming soon
This commit is contained in:
parent
b3fdfeb589
commit
5c6bc7df83
8 changed files with 85 additions and 57 deletions
6
tools.js
6
tools.js
|
@ -24,14 +24,14 @@ function renderTools(filteredTools) {
|
|||
filteredTools.sort((a, b) => b.description - a.description);
|
||||
filteredTools.forEach(tool => {
|
||||
const toolItem = document.createElement("div");
|
||||
toolItem.id = "tool-div";
|
||||
toolItem.className = "tool-div";
|
||||
|
||||
toolItem.innerHTML = `
|
||||
<h1 class="tool-header">${tool.name}</h1>
|
||||
<h1 class="tool-header">↬ ${tool.name} ↫</h1>
|
||||
<h2 class="tool-subhead"><u>${tool.subheader}</u></h2>
|
||||
<h2 class="tool-desc">${tool.description}</h2>
|
||||
<img class="tool-media" src="assets/${tool.name}.png" alt="${tool.name} Image">
|
||||
<a id="visit" class="visit-tool" href="${tool.url}">Try the "${tool.name}" tool!</a>
|
||||
<a id="visit" class="visit-tool" href="${tool.url}">Visit "${tool.name}"!</a>
|
||||
`;
|
||||
|
||||
toolList.appendChild(toolItem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue