Skip to content

Commit

Permalink
Ability to disable heart rate or calories display
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Feb 28, 2020
1 parent b8940be commit ca4b208
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
8 changes: 4 additions & 4 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<body>

<div class="center">
<img class="hrImage" src="hrImage.png"/>
<span id="heartRate" class="hrText">-</span>
<img class="calImage" src="calImage.png"/>
<span id="calories" class="calText">-</span>
<img class="hr hrImage" src="hrImage.png"/>
<span id="heartRate" class="hr hrText">-</span>
<img class="cal calImage" src="calImage.png"/>
<span id="calories" class="cal calText">-</span>
</div>

</body>
Expand Down
10 changes: 10 additions & 0 deletions public/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
text-align: center;
}

.hr {
/* Uncomment to disable heart rate display */
/*display: none;*/
}

.hrText {
color: white; /* Heart rate text color */
font-family: Arial, sans-serif; /* Heart rate text font */
Expand All @@ -20,6 +25,11 @@
width: 100px;
}

.cal {
/* Uncomment to disable calories display */
/*display: none;*/
}

.calText {
color: white; /* Calories text color */
font-family: Arial, sans-serif; /* Calories text font */
Expand Down

0 comments on commit ca4b208

Please sign in to comment.