Skip to content

anushkadoyan/Weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Website

Responsive Weather website using React.

Check it out at https://my-weather-web.herokuapp.com/

To Run

In the root folder, run these commands:

$ npm install

$ npm start

Code Samples

Converting an array into chunks of arrays


 hourlyList.forEach(time=> {
  if(currentDay.isSame( moment.unix(time.dt), 'day')) {
    day.push(time);
  } else {
      dayChunks.push(day);
      currentDay = currentDay.add(1, 'days');
      day=[time];
    }
 });

Screenshots

About

Weather Forecast using openweathermap.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published