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

Selftaught_Developer_Incubator

Private • 424 • $3/m

904 contributions to Developer Pro
Unknown Error
I don't know why i am getting this error. All i know is this is happening in the CoinTable component. Could anyone help me with this error pls? https://github.com/harpreetsingh100/Cryptowise/commit/3232f2de657537ab0c3eb3b74cef182a8284c540
2
1
New comment 3h ago
Unknown Error
0 likes • 3h
I believe your error is not in the CoinTable but in your helpers component, based on what I see in the console. I think the issue is in the beforeFit function, as you try to apply the push method on an object and not an array. (axis.ticks.push({ value: length, label: labels[length] }); so check if axis.ticks is an array first
css question
how do you guys apply the linear gradients to borders in tailwind? when I copy that code I have 2 lines of linear-gradients declarations, I have no idea how to incorporate it in my code. Thanks !
2
2
New comment 4h ago
css question
0 likes • 4h
@Harpreet Singh no, I will look into it, thanks
PR - charts
this was one of the most difficult tasks I had to implement. it's nowhere near ready but I thought it's better to submit it for review before going too deep. Thanks! https://github.com/Mioara82/crypto/pull/19
4
7
New comment 1d ago
0 likes • 2d
@Cristian Florea awesome! can i merge ?
0 likes • 1d
@Cristian Florea already did 🤭
React - Challenge #9 (Github Battle) - Code Review
Hi @Cristian Florea @Basil Gubara, Just finished React challenge 9 - Github Battle. Let me know your opinion. Thanks! https://codesandbox.io/p/sandbox/react-challenge-9-v-03-fggyft?file=%2Fsrc%2FApp.js%3A10%2C6
5
8
New comment 13h ago
1 like • 1d
I have no answer to your problem , to be honest I checked some online resources and would be an overkill, tbh, but I am no expert in reduce. what I wanted to recommend to you is to more carefully choose what variables you want to store in state. for instance you don't use the user state, just the users array to store the users. whereas for existentUser and winner, you don't need to save them in state, because they derive from state (they are computed based on existing state variables). instead of setting your existentUser to false in your timeout function, you can just display an error message. winner is derived state from users array, so no need to save it in state. hope this makes sense!
1 like • 1d
@Florin Ghimici refactoring is making your code more concise and readable , imo. so I would say yes 😉
Random quotes Exercise
trying to display the first quote on the screen. Do I need to use forEach since it's an array? Or is my setup wrong? https://codepen.io/kleinsendja/pen/poxorBG?editors=0011
4
5
New comment 2d ago
2 likes • 2d
you access an array element by its index, so first object would be quotes[0]
2 likes • 2d
if I may suggest something, you overcomplicate your objects which will make accessing the properties very cumbersome. so instead of this: { albertE: { text: { quote: "What is the meaning of human life, or of organic life altogether? To answer this question at all implies a religion." }, quoter: " - Albert Einstein" } }, you can have just this : { quote: "What is the meaning of human life, or of organic life altogether? To answer this question at all implies a religion.", quoter: " - Albert Einstein", img:"" }, before, to access quote you would have to do : quotes[1].albertE.text.quote after: quotes[1].quote
1-10 of 904
Mioara Cenusa
7
5,924points to level up
@mioara-cenusa-9815
I am SAHM of two, who loves reading books, having nature walks and coding. I want to become a frontend developer and make myself and my family proud!

Active 1h ago
Joined Sep 22, 2023
United Kingdom
powered by