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

Memberships

Developer Pro

Public โ€ข 144 โ€ข Free

71 contributions to Developer Pro
Back from my wedding and Weather App Completed
Hey everyone, I have been away for about a month because my wife and I just had our wedding. It was a great event and now that it is over, I am glad to be back in the peace of the day-to-day. Just finished up the Weather App, for the most part. I know I need to implement styled components rather than a CSS sheet and I also need to refactor the code and perhaps use more components rather than a few big ones. Let me know if you have any tips on that please. But it looks like everything is working properly and I'm quite happy to have finished this, the first serious React project. And @Cristian Florea let me know how you did the slide in of the components while loading instead of the basic "fetching data..." PREVIEW: https://qlfvlr.csb.app/city/Seoul CODE: https://codesandbox.io/p/sandbox/weather-app-qlfvlr?file=%2Fsrc%2FApp.js%3A16%2C13
12
11
New comment 4d ago
2 likes โ€ข 8d
Thank you for the congratulations guys ๐Ÿ˜„
0 likes โ€ข 4d
@Cristian Florea Thanks for the congratulations, Cristian. And yes, ok this makes sense. I think I can fix those things. I need to get better at refactoring!
Got Hired!
Hey guys, hope you are all doing well. I got hired as a front end engineer for a company in London recently! I also got accepted to build a booking system app for a retreat centre in Portugal and am working as a project manager/ front end developer for that project. The road to getting into tech has been a long and hard one, but definitely building the crypto app was a huge benefit - the interviewers really liked it a lot. Also working on the squared app was crucial in getting the job as there were a lot of questions on Agile and examples of team work etc. I really hope this message motivates you guys to continue coding and becoming better developers, it will pay off . Just follow essentially whatever Cristean says and you will get a job ๐Ÿ˜‚
45
28
New comment 6d ago
Got Hired!
1 like โ€ข 17d
Huge congratulations to you man!
Help on Delete of cities in WeatherApp
Hey guys and @Cristian Florea , I am having trouble in the navigation component with getting the city to delete. I am not sure what is happening, please check my handleDelete on the Navigation page. Code here: https://codesandbox.io/p/sandbox/weather-app-qlfvlr?file=%2Fsrc%2Fcomponents%2FNavigation.js%3A17%2C1
3
4
New comment 29d ago
0 likes โ€ข Oct 23
@Adelin Rosca ok cool. Filter makes sense but what do you mean regarding the item? Oh do you mean to also pass it in to the filter?
0 likes โ€ข 29d
Jesus, it was because I forgot that when you get an ID of the button itself it turns into a string. Always something simple like that smh, I knew to use filter, was just messing around with that because I couldn't figure out that bug XD. Alright awesome, Just got to style this now and we are done.
Quick question on last feature in Weather App
I am using an API with the Headers: "x-api-key" way of varifying the key in order to make sure the user can't put in any names that are not cities. The following is my code. Something must be off that I am not aware of because the api wont call. It makes the same 400 error as when i didn't have the key at all: const handleSubmit = async (event) => { event.preventDefault(); if (value) { try { setIsLoading(true); const { data } = await axios( `https://api.api-ninjas.com/v1/city?name=${value}`, { headers: { Authorization: { "x-api-key": "pR/pMV9hptKNyk1e2i5DjQ==s5ppiwzYglSKzYj0", }, }, } ); if (value.toLowerCase() === data.name.toLowerCase()) { const updatedCities = [ ...cities, { city: value, id: Math.random() - Math.random() }, ]; setCities(updatedCities); setValue(""); setIsLoading(false); } } catch (err) { setError(err.message); setIsLoading(false); setTimeout(() => { setError(""); }, 5000); } } }; Link if you need to see more: https://codesandbox.io/p/sandbox/weather-app-qlfvlr?file=%2Fsrc%2Fcomponents%2FNavigation.js%3A16%2C1-49%2C5
3
2
New comment 30d ago
1 like โ€ข 30d
@Mioara Cenusa perfect thankyou, i thought itd be something small like that. And no problem once the api works i can console log and find out what to use to grab the city name!
Time to start on the Weather app.
Excited because this seems to be the first fully professional looking app with modern features. Happy to have reached a point where my skills are capable of this.
6
3
New comment Oct 5
1-10 of 71
Samuel Haraway
5
173points to level up
@samuel-haraway-9103
Aspiring Web Developer. Love story writing and philosophy. Previous business consultant, living in Tokyo.

Active 2h ago
Joined Jan 8, 2024
INTJ
Japan
powered by