Skip to content

Commit

Permalink
remove null project description
Browse files Browse the repository at this point in the history
  • Loading branch information
doroh70 committed Mar 27, 2024
1 parent 59c0a49 commit 8e50559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ document.addEventListener('DOMContentLoaded', (event) => {
card.innerHTML = `
<div class="card-body">
<h5 class="card-title">${repo.name}</h5>
<p class="card-text">${repo.description}</p>
<p><strong>Primary Language:</strong> ${repo.language}</p>
<p class="card-text">${repo.description ? repo.description : ''}</p>
<p>${repo.language ? `<strong>Primary Language:</strong> ${repo.language}` : ''}</p>
<a href="${repo.html_url}" target="_blank">View on GitHub</a>
</div>
<div class="card-footer">
Expand Down

0 comments on commit 8e50559

Please sign in to comment.