Kevin Powell - Community

KPC

Kevin Powell - Community

A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.

Join

front-end

resources

back-end

ui-ux

os-and-tools

Invoking a route in Link but as a component & with an argument obj to pass to the component

The Github:https://github.com/nnall/hm-frontend-Nick.git I have a component, <VehicleDetails/> which is meant to take in a 'vehicle' object argument, in order to render details on a car details page. ...
No description

Need help with CSS button classes

Hello, I'm making a small school project and am using a single class for all of my buttons on this specific page. Every button works as intended except the last one, titled "История и дейност на фирмата". It's in bulgarian, it's on line 184. For some reason the code breaks with that button and on refresh I only see the text for a second before it fades to the background color. Same issue happens when I hover or unhover it with my mouse. Would love to know what I did wrong, thanks in advance. Pas...

Creating a responsive grid which always maintains the same gap

I'm trying to create a grid, kind of like the iPhone photo library. There's a gap that can never increase. So for responsiveness the items in the grid need to increase in size. How would I achieve this? :)

Looking for a blockchain developer

Hello, guys, I have one project to be done urgently. It's small and simple smart contract project. If anyone can help me, please send me DM.

Making ul li horizontal and not vertical.

I am needing to make my product carousel cards horizontal. I figured out a way to turn this into product cards, but the horizontal part is a bit difficult for me. Can anyone help me figure out how to do the Horizontal? Also, the entire webpage is on one page and the page is not to scroll. I will be using transitions. I already have the nav bar done. And I am needing to know how to make each page show up in a window that I will be creating when clicking either on home or cover art. If you know what the terminology is or you can provide a link that can help me acheive this, I would surly appreciate that....
No description

React native FlatList style

can any one guide or can give example: in flatList is it possible to show action menu absolute on longPress and not hide under top flatList Item ?...
No description

Overflowing child on top of a parent container that has an overflow scroll

hey, does anyone know how instagram does this? The comment box, which we can consider as the parent container, has an overflow, however, its elements like the tooltip, when you hover over a user profile, is able to exceed or get on top of its parent container. How does one does this? Is the tooltip fixed? Cause from what I know absolutely positioned element cannot exceed its parent container especially if the container has an overflowscroll https://streamable.com/6zgie6...

How to achieve this grid style

Hi can someone help me how to achieve this kind of grid. where the blue box will automatically expand based on the red box. Thank you!
No description

React/CSS Transitions Fail

In this approach I'm trying to do a very smooth transition which when a button is clicked a transition on Y's the transition comes on it's normal place. When I'ts clicked the transition hides con the Y's
No description

select only child

Hey, the image below is a representation of some grid items that are part of a grid using auto-fill so the items wrap if there's not enough space to fit it. Is there a way to test for an item being by itself, like the fourth item in the image? Thanks in advance.
No description

Applying scintillation and noise effects, with CSS

I'm trying to create an effect similar to noise and scintillation in night vision devices. Example images can be seen on this page: https://www.cloudynights.com/topic/691671-improved-ebi-images-with-five-tubes/ What I'm after is both the "grainy" look, and the bright scintillations, using CSS, on top of text (h1 through h3 elements) and td backgrounds. I followed the tutorial on https://www.freecodecamp.org/news/grainy-css-backgrounds-using-svg-filters/ using both their SVG and a generator at https://fffuel.co/nnnoise/ and neither seemed to achieve the effect....

centering content inside a grid container?

codepen won't work because it's next/react, but i've posted it there so you can read it easier... https://codepen.io/Laing91/pen/ZENzaQj I'm wanting to create a photo album grid and looking at it right now, the images are all hugging the start of their grid-area, and I'm not sure how to center them.. justify-content and align-items doesn't work....
No description

Help creating a breakout section

Hey guys, I have the following design in XD (see first picture). I've created the second picture. My problem is, I never know how to engineer a section like this. There's a max-width container and the text needs to stick inside the max-width while the image breaks out. I figured I could use some position-d stuff but not sure....
No description

Burger spans not showing up in DOM -- do show up in dev tools

working with Astro, everything carries over, my rules for everything else in my nav work but my spans are not receiving any styles even tho the naming lines up and they do appear when inspected. any ideas what is permeating this issue? works fine in my vanilla html / scss / web starter template
No description

Make form label text wrap around embedded 'checkbox' input, or simulate that somehow?

The label: ``` <label className="agmt_label" htmlFor="agreement"> <input // className="preApproval_input"...
No description

Multifactor authentication input styling

Hi all! I am looking for a way to style a form input box for MFA. Attached is what it looks like currently, but basically just a password input field. I would like to separate the text in this field into groups of **** *** *** to make mis-entry a little more obvious, or even cooler would be **** 123 456 where the initial pin of the token is hidden but the remaining token from the app is visible... ...
No description

react-icon disappeared

I am facing this weird bug in my application. Some of my icons disappear, while inspecting with dev tools the SVGs are there but it doesn't appear in the UI. While trying to figure this out I got the solution but I want to know what coausing this what happens is if I set the size of icon 18 it appears anything below 18 it disappears again <ToolTipIcon size={18} /> this is visible but <ToolTipIcon /> this is not, but its SVG is there in the DOM...

alignment problem while customizing the <input type="range" /> element

i have a floating anchor div above the input element, which should move aline with the thumb. But its moving slightly back of thumb after 1st half of range and slightly front on 2nd half of range. I have a video link and a GitHub project link below. Please, someone kindly help me with is issue. videoLink - https://www.loom.com/share/c96d4f861a7245c48ef588047480f173?sid=6983b73e-7105-42db-9b05-fdf7e72ea6a6 project link-https://github.com/waran2337/vidyo-pricing-page...
No description

React/Vite -> Trying to connect routes & components together through App.jsx

https://github.com/callum-laing/react-test-proj Clicking the Link at the bottom of the page does move us from http://127.0.0.1:5173 to http://127.0.0.1:5173/transition so the route is working, but the content isn't changing.. I thought it would show the component's content as I have the route path correct (I think) Edit: Is it to do with the content that is already on the page? does this need to perhaps be in a component and then rendered in also?...