Skip to content

Repository files navigation

weather-site3

Whether Weather 🌦️

Whether Weather Logo

📌 Project Description

Whether Weather simulates a global weather information for multiple cities, including current conditions, seven-day forecast, alongside a dashboard overview, user preferences interface, and an additional wind chill calculator feature. All weather data used in this project is hardcoded. This multi-page weather forecasting website was built using Eleventy (11ty), Nunjucks, Bulma, HTML, and CSS.

Getting Started

⚙️ Installation & Running the Project

Follow the steps below to run the project locally.

  1. Ensure Node.js, npm, Git are installed on your machine. You can verify the setup by running in a command prompt terminal (cmd).
node -v
npm -v
git –version
  1. Download or clone the repository.

Clone the project from GitHub and move into the project directory:

git clone https://github.com/your-username/your-repository-name.git
cd your-repository-name

Sources

  1. Install dependencies using npm:

npm install

This will install Eleventy and all other dependencies defined in package.json.

  1. Start Eleventy’s development server:

Run npx @11ty/eleventy --serve

Eleventy will build the site, monitor file changes and serve the project locally during development.

  1. Open your browser and visit:

http://localhost:8080

  1. Deploy the project from Github on Netlify (optional)

Sources

🚀 Usage

Once the project is running, users can:

  • Browse the Dashboard to quickly compare weather in different cities
  • Click a city card to open a City Focus Page with detailed weather information
  • Use the Settings Page to select favourite cities and preferred weather conditions (UI only)
  • Explore the Wind Chill Calculator to understand how wind speed affects perceived temperature

Navigation is available on every page using the main menu.

🔧 Configuration

City and weather data are stored in a global JSON file:

/_data/cities.json

To add or modify cities:

  • Edit cities.json

Eleventy will automatically update the dashboard, city pages, and settings options.

🗂 Project Structure

_includes/
  layouts/
    base.njk

  partials/
    footer.njk
    nav.njk

  components/
    dashboard-card.njk
    day-summary.njk
    toggle.njk

_data/
  cities.json

pages/
  index.njk
  dashboard.njk
  city.njk
  settings.njk
  wind-chill-calculator.njk

_css/
  styles.css

🧰 Tech Stack & Tools

Eleventy Nunjucks Bulma HTML5 CSS3 Netlify GitHub

Eleventy (11ty) – Static site generator

Nunjucks – Templating engine

Bulma – CSS framework for layout and styling

HTML5 / CSS3 – Markup and styling

Netlify – Deployment platform

GitHub – Version control and repository hosting

📚 Documentation

Eleventy: https://www.11ty.dev/docs/

Nunjucks: https://mozilla.github.io/nunjucks/

Bulma: https://bulma.io/documentation/

HTML: https://developer.mozilla.org/en-US/docs/Web/HTML

CSS: https://developer.mozilla.org/en-US/docs/Web/CSS

Netlify: https://docs.netlify.com/

GitHub: https://docs.github.com/en

🤝 Contributing Guidelines

This project was created for an academic assignment. Contributions are not expected, but suggestions and feedback are welcome.

📄 License

This project was completed for educational purposes as part of a web development course.

📬 Contact Information

For questions related to this project, please contact the author Boun Chun or the course instructor John Reillis.

About

Weather Information Tool

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages