Seasons is a react app I created to determine the season you are in based on your location. Currently it only displays between summer and winter.
- Download the files onto your computer in a specify folder of your choosing.
- Using your Terminal on your computer, locate the file by using the cd command (Change directory).
- Once you cd to the seasons app, you want to use the command npm start to open the app on the web browser.
- Then when the website loads accept that you want to have your location accessed.
- When you have accepted it the website will load with either a "brr its chilly" message indicating it's winter or "Let's hit the beach" indicating its summer.
Matthew Newton
Ideally if you do not want your location to be accessed, you could have it be hardcoded. Please follow the steps below.
- When asked for your location you deny it.
- Next right click the page to inspect it.
- Scroll over to console.
- Once there, check to see if the console drawer is open. If not look for 3 dots towards the right side of the bar.
- When it opens you should see a command that says show console drawer. Click it.
- Then when it's open scroll to senses and you will see location.
- Use the drop down bar to look for locations to override the location.
At that point everything will be exactly as it were in the getting started table.