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

Memberships

Developer Pro

Public • 140 • Free

70 contributions to Developer Pro
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 😂
41
26
New comment 2d ago
Got Hired!
1 like • 2d
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 14d ago
0 likes • 18d
@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 • 14d
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 15d ago
1 like • 15d
@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
Help, I'm getting an error on Sandbox during the component update/mounting module
My code is exactly the same as Cristians so I don't know why this is happening, could be sandbox but the error is an issue with the main index.js something to do with it rendering null at ReactDOM.render. If anyone knows what's happening it would be much appreciated. 4 | import App from "./App"; 5 | 6 | const rootElement = document.getElementById("root"); > 7 | ReactDOM.render( | ^ 8 | <StrictMode> 9 | <App /> 10 | </StrictMode>, Code: https://codesandbox.io/p/sandbox/component-mounting-rsktfw?file=%2Fsrc%2Findex.js%3A13%2C1
4
4
New comment Oct 4
0 likes • Sep 30
@Adelin Rosca yeah my bad, forgot that
0 likes • Oct 4
@Adelin Rosca Thank you!
1-10 of 70
Samuel Haraway
5
187points to level up
@samuel-haraway-9103
Aspiring Web Developer. Love story writing and philosophy. Previous business consultant, living in Tokyo.

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