Activity
Mon
Wed
Fri
Sun
Aug
Sep
Oct
Nov
Dec
Jan
Feb
Mar
Apr
May
Jun
What is this?
Less
More

Memberships

DP
Developer Pro

Public • 109 • Free

49 contributions to Developer Pro
OpenWeatherMap API 2.5 Deprecated
Hey everyone, just a quick notice to those who have completed or are currently working on the WeatherApp, the previous API v2.5 is deprecated and has been replaced by 3.0. I'm going to have to make what looks like a significant amount of changes to my code due to their change, and they no longer provide as much data as before. Super disappointed that it literally discontinued the last day of June and I was trying to troubleshoot without knowing this. Hope no one else is in the same boat
2
3
New comment 1d ago
0 likes • 1d
By issues pulling the data do you mean you could before and can't now? Are you using the proper URL?
the pictures for the weather app
how do we get the pictures for the weather app ?
1
3
New comment 1d ago
the pictures for the weather app
2 likes • 1d
You need to use the unsplash API to get the images
Hook issue
index.js - nodebox - CodeSandbox When i console.log(data) it will show me all the weather information I expect. When I use a setWeatherData(data) and console.log(weatherData) I get back undefinded. Can someone explain why? This only happens on the first time. After that it is fine. Am I using useEffect incorrectly? This doesn't make sense to me because if I was why would data show information but not weatherData? Any help would be greatly appreciated. Picture for context. To test yourself. Just add any city and then click on it in the menu.
1
6
New comment 1d ago
Hook issue
0 likes • 1d
@Mioara Cenusa Do you have a recommendation on displaying the information after setting the state? No matter what I try it says it can't read the object parameters. It makes sense because of what you said above so it's not there until it has re rendered. I am having some trouble wrapping my head around getting to the render part.
2 likes • 1d
@Mioara Cenusa Gotcha. I was trying to use weatherData && *stuff* thinking that would do something similar. Just got it working so thank you very much! This has been bugging me all day!
Weather App Update #2
https://codesandbox.io/p/sandbox/goofy-ives-ls5p76?file=%2Fsrc%2FApp.js%3A14%2C25 Just another update. As usual any comments or suggestions please leave them! 1. User can remove a city they add. Big stuff there! 2. Each city now displays relevant weather information. It's not pretty but it's at least there. I just have it down on the paper so I can reference them when I actually use the information. 3. Started working on styling. But nothing fancy or anything. Mostly just remembering styled components and going from there. Next update I hope to have the styled layouts completed. After that I will work on the unsplash stuff.
2
8
New comment 1d ago
0 likes • 2d
@Cristian Florea I will check it out here in a bit before I sleep or in the morning
1 like • 1d
@Cristian Florea "Why are you using an array" Because I'm an airhead and completely spaced on that. 😆 Thank you for the feedback!
Weather App
https://codesandbox.io/p/sandbox/goofy-ives-ls5p76?file=%2Fsrc%2FApp.js Not completed. I'm just posting my progress here as I go along. Doing this to keep me more on track plus if anyone wants to offer any suggestions, tips, etc let me know. What's done so far: 1. Can pull the users current location and load up the city and current temp (in F). Displays it on the page for now. 2. You can type in a city and it will display that city. Behind the scenes I do API calls. I don't do much with that currently. 3. Started working on the framework for the site. Nav page will be on the left. Header up top. Current info displayed is below the header. Current to do's 1. Update the city list so the user can delete them. More framework stuff. 2. Update it to store the unsplash API key. I will work on getting images at the end. 3. Use the information I pull from API requests to display more information.
5
3
New comment 2d ago
1 like • 2d
@Adelin Rosca I have fixed it. Forgot to take it off of private
1-10 of 49
Bret Miller
5
301points to level up
@bret-miller-4704
Aspiring front end developer looking to jumpstart my career into something new and exciting.

Active 2h ago
Joined Feb 21, 2024
Indiana, US
powered by