Dayo
Explore posts from serversKPCKevin Powell - Community
•Created by Nox on 6/23/2023 in #front-end
useState seemingly causing issues with nextjs
had this issue a while ago. it was one of my Chrome extensions that caused it
try disabling your extensions temporarily to see if it’s the same in your case
7 replies
KPCKevin Powell - Community
•Created by MuhammedAlaa on 6/22/2023 in #front-end
React Add products to cart
i would make my size an array
but what you can do is filter the values that start with "size" and then display them however you want to, probably as a single string separated by commas
const sizes = Object.entries(obj)
.filter(([key]) => key.startsWith("size"))
.map(([_, value]) => value);
const sizesString = sizes.join(", ");
9 replies
KPCKevin Powell - Community
•Created by mediocre coder on 6/22/2023 in #front-end
Two equal columns portfolio
10 replies
KPCKevin Powell - Community
•Created by mediocre coder on 6/22/2023 in #front-end
Two equal columns portfolio
an overflow of auto would work too
10 replies
KPCKevin Powell - Community
•Created by mediocre coder on 6/22/2023 in #front-end
Two equal columns portfolio
I'd use flex and just use flex basis
so parent container -
display: flex; align-items:start; flex-basis:100%; gap: 24px; min-height: 100vh
fixed left column - position:sticky; top:0; flex-basis: 35%
scrollable right column - flex-basis: 65%
10 replies
KPCKevin Powell - Community
•Created by Dayo on 6/2/2023 in #front-end
Converting Figma interaction to code
okay will check that out. i have a slightly improved version though - https://codepen.io/DayoAwobeku/pen/XWxvEdr
3 replies
KPCKevin Powell - Community
•Created by ian on 1/2/2023 in #front-end
hi ,my tailwindcss is not working for some reason pls help
add some files to the src with tailwind classes and see if it works
10 replies
KPCKevin Powell - Community
•Created by ian on 1/2/2023 in #front-end
hi ,my tailwindcss is not working for some reason pls help
then the warning is correct
10 replies
KPCKevin Powell - Community
•Created by ian on 1/2/2023 in #front-end
hi ,my tailwindcss is not working for some reason pls help
where's your code at?
10 replies
KPCKevin Powell - Community
•Created by ian on 1/2/2023 in #front-end
hi ,my tailwindcss is not working for some reason pls help
you're referencing your src folder in the tailwind config but all that's inside the folder is a css file
10 replies