savvystrider15
KPCKevin Powell - Community
•Created by ! nier on 11/5/2023 in #front-end
Clamp function
I had some trouble with it until I found this calculator: https://royalfig.github.io/fluid-typography-calculator/
3 replies
KPCKevin Powell - Community
•Created by Abrar on 11/2/2023 in #front-end
useContext react
konteks
should be Konteks
(capitalize first letter): https://react.dev/reference/react/createContext#provider3 replies
KPCKevin Powell - Community
•Created by unluqy on 10/24/2023 in #ui-ux
Beginner looking for support!
This might help: https://fedmentor.dev/posts/responsive-meaning/
35 replies
KPCKevin Powell - Community
•Created by savvystrider15 on 10/15/2023 in #front-end
How to keep track of steps/step #'s in a multi-step form with JS?
Thanks for taking a look! I'll give it a shot
12 replies
KPCKevin Powell - Community
•Created by savvystrider15 on 10/15/2023 in #front-end
How to keep track of steps/step #'s in a multi-step form with JS?
I tried something similar to
steps < 4 ? steps++ : undefined
but I couldn't figure out where to put a check like that within my code. Does it belong in the submitBtn
event handler or outside of it?12 replies
KPCKevin Powell - Community
•Created by PilotP on 10/15/2023 in #front-end
What is the best way to rack up that jank
Google Chrome has some built-in features for simulating different internet connections/throttling: https://developer.chrome.com/docs/devtools/device-mode/
2 replies
KPCKevin Powell - Community
•Created by Riky on 10/8/2023 in #front-end
How to make SVG appear on hover?
Check out the Frontend Mentor Discord channel. This is commonly asked/answered on there:
https://discord.com/channels/824970620529279006/1123196742465232937/1123196742465232937
10 replies
KPCKevin Powell - Community
•Created by savvystrider15 on 10/7/2023 in #front-end
React quiz app
Does that mean
answers
needs to be converted from an array into an object in order to hold the index?8 replies
KPCKevin Powell - Community
•Created by savvystrider15 on 10/7/2023 in #front-end
React quiz app
Refactored my code a bit to use a form/radio buttons but I'm running into trouble with
checkAnswers
function. Would appreciate it if anyone has the time to take a look and offer any suggestions: https://codesandbox.io/s/quizzical-nqjq398 replies
KPCKevin Powell - Community
•Created by savvystrider15 on 10/7/2023 in #front-end
React quiz app
I tried the radio button approach but it got a little tricky for me managing
name
, value
, and checked
attributes for those elements. But it does seem to be preferable to using regular buttons for this8 replies
KPCKevin Powell - Community
•Created by savvystrider15 on 9/16/2023 in #front-end
JavaScript/webpack - issue with event listener in my index.js file
lol I mainly wanted some experience with webpack, didn't realize how complicated this would get. Definitely don't plan on on setting up another project like this unless it's suited for it
34 replies
KPCKevin Powell - Community
•Created by savvystrider15 on 9/16/2023 in #front-end
JavaScript/webpack - issue with event listener in my index.js file
Made the update as you suggested, ran the build, and it works as expected. Thank you so much!
34 replies
KPCKevin Powell - Community
•Created by savvystrider15 on 9/16/2023 in #front-end
JavaScript/webpack - issue with event listener in my index.js file
Oh wow, didn't know I could do that
34 replies
KPCKevin Powell - Community
•Created by savvystrider15 on 9/16/2023 in #front-end
JavaScript/webpack - issue with event listener in my index.js file
Ah ok, I need to actually render an element to the DOM before I can attach an event listener
34 replies
KPCKevin Powell - Community
•Created by savvystrider15 on 9/16/2023 in #front-end
JavaScript/webpack - issue with event listener in my index.js file
Sure, do I need to enable that?
34 replies
KPCKevin Powell - Community
•Created by savvystrider15 on 9/16/2023 in #front-end
JavaScript/webpack - issue with event listener in my index.js file
34 replies
KPCKevin Powell - Community
•Created by savvystrider15 on 9/16/2023 in #front-end
JavaScript/webpack - issue with event listener in my index.js file
The error is: Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
What do you maen by public path?
34 replies
KPCKevin Powell - Community
•Created by savvystrider15 on 9/13/2023 in #front-end
JavaScript: How to display a week of dates at a time
Thank you! Works now and way cleaner
4 replies
KPCKevin Powell - Community
•Created by Tenkes on 8/12/2023 in #ui-ux
How to do this in Figma?
If you select an element in Figma, hold down Shift and then press a direction arrow. Should move the element about 10 pixels at a time.
7 replies
KPCKevin Powell - Community
•Created by Futuristic Ryder on 8/15/2023 in #front-end
how do i code the timeline section in this design
Could be a grid or a table
4 replies