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

Memberships

Dev Mastery Free

3.4k members β€’ Free

Selftaught Developer Incubator

380 members β€’ $49/m

Developer Pro

47 members β€’ $250/m

692 contributions to Developer Pro
React Challege-2
App.js - nodebox - CodeSandbox Let me know if you have any feedback!
1 like β€’ 2d
- first of all, trim the input, currently I can add an empty task. - then, when you toggle the item, you are mutating state directly : if (element.id === item.id) { element.completed = !element.completed; } instead, return a new object with the opposite value, something like this: if (element.id === item.id) { return {...element, completed: !element.completed}; } - !!! also, big bug: try to add 2 tasks with the same name and delete one of them, then see what happens
0 likes β€’ 1d
@Prudhvi Raj Maddukuri that doesn't mean you can ignore the rest of the code, I was expecting otherwise from you πŸ™ƒ
React Challenge-1
The link to its design file seems broken, couldn't open it, but somehow built it following the video. Sorry, the page you were looking for doesn't exist. (404) And, I couldn't set the background images of divs on stackblitz, but it worked when I tried locally on Visual Studio Code. Let me know if you have any feedback! React Challenge-1 - StackBlitz
2 likes β€’ 17d
what's up bro, hope you are good. overall great job, here are some comments though: - use arrow functions instead of functions declarations. it's pretty much a standard. just take a look at this example: function InputTextField(prop: { placeholder: string }) { return <input type="text" placeholder={prop.placeholder} />; } vs const InputTextField = ({ placeholder: string }) => <input type="text" placeholder={prop.placeholder} />; idk, maybe it's the way I am used to do things, but it's mode readable react wise if that makes sense πŸ˜… - you can define this function: const composeClassName = (text: string) => text.toLowerCase().split(' ').join('-') + '-button'; inside the component you are using it, since it's a one time use function - in react, when you use map, you need to add a key attribute to the list elements. this is pretty important, look into it
2 likes β€’ 16d
@Prudhvi Raj Maddukuri I'm not forced to use AI, but my boss recommends me to use it, and I use it (chatgpt), but only because I started to understand the code, first few months I barely used it. And regarding the key, you should always use it with map, regardless of the fact that the list modifies its order or not. Just pass the value to it
Merry Christmas guys!
Wish you wonderful celebrations with your loved ones πŸŽ„
3 likes β€’ 18d
Merry Christmas!
Crypto PR #29
PR #29: https://github.com/OriginalCade/crypto-app/pull/29 Vercel: https://crypto-jzmegco16-cade-warbingtons-projects-4303a588.vercel.app/
0 likes β€’ 24d
Yo bro, the url is not working, it requires access. Share the public one
0 likes β€’ 24d
@Cade Warbington this is it πŸ‘Œ
Codewars challenge update
@Cristian Florea I finally figured it out, it took a couple of hours πŸ˜† although to be fair I was making dinner at same time haha. I stumbled upon a stackoverflow post about parseInt(string, radix), console logged to see if worked out to the correct nums, then realised what i had to do. https://www.codewars.com/kata/5a005f4fba2a14897f000086/javascript https://codepen.io/Smiley05/pen/KwzLJEv?editors=0011
0 likes β€’ 26d
This is a lvl 7 kata for real ? I don't understand a thing πŸ₯²πŸ˜…
1-10 of 692
Adelin Rosca
6
168points to level up
@adelin-rosca-5395
Trying to break free from the shackles that prevent me from living my life, and becoming a web developer is the path to my liberty

Active 3h ago
Joined May 16, 2024
Romania