You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: curriculum/challenges/english/25-front-end-development/lab-weather-app/66f12a88741aeb16b9246c59.md
+29-29Lines changed: 29 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ You will use a weather API. The output data has the following format:
41
41
42
42
**User Stories:**
43
43
44
-
1. You should have a `button` element with an `id` of `get-forecast`.
44
+
1. You should have a `button` element with an `id` of `get-weather`.
45
45
46
46
1. You should have a `select` element with seven `option` elements nested within it. The first option should have an empty string as its text and `value` attribute. The rest should have the following for their text and values (with the value being lowercase):
47
47
@@ -64,13 +64,13 @@ You will use a weather API. The output data has the following format:
64
64
65
65
- You should have an element with the id `humidity` for displaying the amount of humidity in air.
66
66
67
-
- You should have an element with the id `wind`element for displaying the wind speed.
67
+
- You should have an element with the id `wind` for displaying the wind speed.
68
68
69
-
- You should have an element with the id `wind-gust`element for displaying the wind gust.
69
+
- You should have an element with the id `wind-gust` for displaying the wind gust.
70
70
71
-
- You should have an element with the id `weather-main`element for displaying the main weather type.
71
+
- You should have an element with the id `weather-main` for displaying the main weather type.
72
72
73
-
- You should have an element with the id `location`element for displaying the current location.
73
+
- You should have an element with the id `location` for displaying the current location.
74
74
75
75
1. You should have an asynchronous function named `getWeather` that fetches the weather information from the `https://weather-proxy.freecodecamp.rocks/api/city/<CITY>` API and returns it. Note that this API returns data using the metric system, that means m/s for wind speed, and Celsius for the temperature.
76
76
@@ -303,10 +303,10 @@ const helper = (wobj) => ({
303
303
304
304
# --hints--
305
305
306
-
You should have a `button` element with an `id` of `get-forecast`.
306
+
You should have a `button` element with an `id` of `get-weather`.
0 commit comments