Skip to content

Commit 4da25d5

Browse files
committed
Updated hours and moved items around
1 parent a0604c8 commit 4da25d5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

content/guided-workshop/resources/solutions/Hours.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ const Hours = () => {
2020
// get today's hours
2121
const todayHours = shelterHours.find(day => day.day === today);
2222

23-
// display todays hours
23+
// display todays in a div container with an id of hours
2424
return (
25-
<div>
25+
<div id="hours">
2626
<h2>Today's Hours</h2>
2727
<p>{todayHours.day}: {todayHours.open} to {todayHours.close}</p>
2828
</div>

content/what-the-hack/Student/resources/Hours.js renamed to content/what-the-hack/Coach/resources/Hours.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ const Hours = () => {
2020
// get today's hours
2121
const todayHours = shelterHours.find(day => day.day === today);
2222

23-
// display todays hours
23+
// display todays in a div container with an id of hours
2424
return (
25-
<div>
25+
<div id="hours">
2626
<h2>Today's Hours</h2>
2727
<p>{todayHours.day}: {todayHours.open} to {todayHours.close}</p>
2828
</div>
File renamed without changes.

0 commit comments

Comments
 (0)