Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
reflecthub authored Oct 30, 2024
1 parent 4557a89 commit 938ba82
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ function showDiv(divId) {
const row = document.createElement('tr');
row.innerHTML = `
<td>${item.id}</td>
<td>
<a href="${item.channelLink}" target="_blank">
<img src="${item.channelImage}" style="height: 20px; width: 20px;">
${item.channelName}
</a>
</td>
<td>
<a href="${item.link}" target="_blank">${item.title}</a>
<br>
Expand All @@ -45,12 +51,6 @@ row.innerHTML = `
</td>
<td class="responsive-description">${item.description}</td>
<td><a href="${item.link}" target="_blank">Visit</a></td>
<td>
<a href="${item.channelLink}" target="_blank">
<img src="${item.channelImage}" style="height: 20px; width: 20px;">
${item.channelName}
</a>
</td>
`;

// Append the row to the table body
Expand Down

0 comments on commit 938ba82

Please sign in to comment.