Skip to content

Commit

Permalink
feat: add new productivity tip
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesjo committed Nov 16, 2023
1 parent 0263889 commit 240147b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,10 @@ <h2 id="heading">Heading</h2>
'Always be kind to yourself',
'Productivity is impossible without good self care (at the very least in the long run).',
],
[
'The path to progress is all about self evaluation',
'From time to time you should reflect if your goals and methods serve you well.',
],
];
var randomIndex = Math.floor(Math.random() * productivityTips.length);
document.getElementById('heading').innerText = productivityTips[randomIndex][0];
Expand Down

0 comments on commit 240147b

Please sign in to comment.