Skip to content

Commit

Permalink
Code breaking titles improved
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwin-droid authored Aug 18, 2023
1 parent 5d9f242 commit 9749141
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ async function main() {
ExtraOrdinaryHtml = `<h1>Some Code-Breaking ExtraOrdinary Titles</h1>`;
extraordinarytitles.forEach((item, i) => {
var id = i + 1;
ExtraOrdinaryHtml = `${ExtraOrdinaryHtml} <h2>Title no ${id}, Title ${item.title} </h2>`;
ExtraOrdinaryHtml = `${ExtraOrdinaryHtml} <h2>Title no ${id}, Title <a href="https://www.buzzsprout.com/1173590/episodes/${item.id}">${item.title}</a> </h2>`;
});
longStringOfInformation += ExtraOrdinaryHtml;
}
Expand Down
3 changes: 2 additions & 1 deletion right-hand.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ module.exports = {
// Add the item to the extraordinaryTitles array if it does not contain parentheses
extraordinaryTitles.push({
title: item.title,
downloads: item.total_plays
downloads: item.total_plays,
id: item.id
});
extraordinaryBit = true;
} else {
Expand Down

0 comments on commit 9749141

Please sign in to comment.