Skip to content

MiffyBruna/weather-report

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Report- [Link]

Description

Interactive weather app that returns an illustration of a landscape based on user input.

Showcases Front-end expertise and strong sense of aesthetics.

Technologies

This project was created with vanilla JavaScript

Features

A numeric temperature is displayed. This temperature can be in either Fahrenheit or Celsius degrees. Increase and Decrease Temperature

1.Button that increases the temperature by one degree on click

2.Button that decreases the temperature by one degree on click

3.Drop down menu that allows you to switch the icons on the weather display

4.Allows user to switch the title based on user input


SPECIFICATIONS

Depending on what temperature it is, either:

  • the temperature number changes color
  • the background of the temperature changes color
Temperature (F) Color
80+ Red
70-79 Orange
60-69 Yellow
50-59 Green
49 or below Teal

Temperature Ranges Change Landscape

Depending on what temperature it is, a different landscape appears on the page.

Changing landscapes should replace the existing landscape. There should only be one visible landscape at a time.

Temperature (F) Landscape
80+ "🌵__🐍_🦂_🌵🌵__🐍_🏜_🦂"
70-79 "🌸🌿🌼__🌷🌻🌿_☘️🌱_🌻🌷"
60-69 "🌾🌾_🍃_🪨__🛤_🌾🌾🌾_🍃"
59 or below "🌲🌲⛄️🌲⛄️🍂🌲🍁🌲🌲⛄️🍂🌲"

Selection Changes Sky

When a user selects an option from the dropdown element, the appropriate sky appears on the page.

S| Option | Sky | | ------ | ----------------------------- | | Sunny | "☁️ ☁️ ☁️ ☀️ ☁️ ☁️" | | Cloudy | "☁️☁️ ☁️ ☁️☁️ ☁️ 🌤 ☁️ ☁️☁️" | | Rainy | "🌧🌈⛈🌧🌧💧⛈🌧🌦🌧💧🌧🌧" | | Snowy | "🌨❄️🌨🌨❄️❄️🌨❄️🌨❄️❄️🌨🌨" |

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 53.4%
  • CSS 24.7%
  • HTML 21.9%