Satya
KPCKevin Powell - Community
•Created by Satya on 7/14/2023 in #front-end
Intersection Observer in React
Hi! I'm trying to write a custom hook to get an intersection observer in react. I've been getting this error : I can't seem to understand what's causing this.
Code:
Appreciate any suggestions. Thanks!
8 replies
KPCKevin Powell - Community
•Created by Satya on 7/14/2023 in #front-end
Button Touchscreen Interaction
Hi, when I'm tapping on a button on touchscreen devices I see a square background for a short while. How do I remove that? I've tried adding to states but that doesnt work. I'm sorry if I didnt explain the issue that well.
11 replies
KPCKevin Powell - Community
•Created by Satya on 7/10/2023 in #back-end
Spotify API get currently playing track
18 replies
KPCKevin Powell - Community
•Created by Satya on 7/10/2023 in #back-end
Spotify API
Hey all! Need a little help fetching the track that I'm currently playing. I was going through the documentation and from what I've understood it says that the access token is valid only for one hour. I was planning to have a little section on a website I'm developing to show a "Now Playing - Spotify" section. How do I go about doing that? Thanks
11 replies
KPCKevin Powell - Community
•Created by Satya on 6/20/2023 in #front-end
Styling sibling elements on hover
Hey all!
I've a navbar where I want the sibling nav-items to have a particular css when I hover over a nav-item. For example, if I've 5 nav-items and I hover on the 1st one, the next 4 nav-items should have another css. I'm not able to figure out how to do that. Please help!
Here's the code:
29 replies
KPCKevin Powell - Community
•Created by Satya on 6/14/2023 in #front-end
CSS Battle Leafy Trail
Hey all! I was trying to solve the Leafy Trail challenge in CSS Battle. I was wondering if we could solve it using only one div and a linear gradient. I'm having a little trouble figuring out how to set the angles in the linear gradient (or if it is even possible). Here's my code:
12 replies
KPCKevin Powell - Community
•Created by Satya on 12/27/2022 in #front-end
Chakra UI import error
2 replies
KPCKevin Powell - Community
•Created by Satya on 12/1/2022 in #front-end
Eval in JS
Why does return 62?
8 replies
KPCKevin Powell - Community
•Created by Satya on 11/23/2022 in #front-end
Geolocation in React
Hi everyone, I'm trying to get the user's location and then display some weather data but I'm running into some trouble along the way. Code:
The problem is the location is not being set in the early stage and is taking some time, leading to axios posting the data as which ends up breaking the code. How do I do this properly?
3 replies
KPCKevin Powell - Community
•Created by Satya on 11/10/2022 in #front-end
React + Redux Course Suggestion
Hi, could someone please suggest some good courses (preferably free) on React covering all fundamentals as well as advanced concepts. Also State management through Context API and Redux. Thanks
2 replies
KPCKevin Powell - Community
•Created by Satya on 11/5/2022 in #back-end
error Microsoft Visual C++ 14.0 or greater is required
I was trying to install Jupyter using pip and it's giving me this error. I've already installed Visual Studio Build Tools 2022 to try fixing this but it didn't work.
Any suggestions?
6 replies