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

How can I make this get smaller as the screen changes sizes?

So I created a container with a nice styling I wanted to ask is it possible for the container to decrease in size as the browser shrinks or is that something I'd have to alter using Media Queries?
No description

half a star

newbie here: was trying to color my star icon (in this case, 20% of it as red color solid, rest will have default color) is that achivable?...
No description

media query image

tried some will show but doesn t seem to work
No description

Horizontale Slide with HTML and CSS

can we make like the slide in the video only with HTML and css?

[Javascript] I did a timer using classes and have some issues

Hey you guys, I'd like to please about rate my code (especially javascript) rate, what should i change, what I did wrong and etc. While it counts font isn't same size all the time, I mean the font slightly moves in different directions (like i screwed up something in css but i don't know) My code is too long so I think i can upload it on pastebin https://pastebin.com/p20rSRKE...

Struggling with CSS [frontendmentor challenge]

I tried google first but I don't know how to fix this.
No description

Add a style with js

Hi everyone I realise a page with a title and a button when I will clicked on the button a text should appear But I don' t understand why the text is not appear...

Using Arc boost css file in my application

I have a react application. my design team have customised the design of every page using Arc boost , a new browser called Arc. now they want to see how we can overwrite all the existing stylings with the ARC css files. does anyone have any experience with this?

CDN friendly RGPD for font, js, etc

Hello, I am looking for a CDN (paid or free) that does not collect user data, allowing me to upload and download custom fonts or JavaScript without requiring the acceptance of third-party cookies. System-UI fonts is not approved by the UI team, so I am looking for a way to make a custom font available without using the Google CDN and without hosting it locally....

Position fixed with transform (behavior exploration)

Hi everyone. For the last 2 days I have been tinkering with this 'unknown behavior' where If I used transform to a container, the fixed position inside it would no longer work. The only way I managed to 'fix' this is by moving the element outside the container but that comes with a set of different problems such as breaking the layout and so on. ...

Adding an dataset attribute to rendered div of mat-tab from Angular Material

I want to add a dataset attribute on tab indicator div rendered by mat-tab component for label. Here is the link for stackbliz, https://stackblitz.com/edit/d7db8c-2kpdac?file=src%2Fexample%2Ftab-group-align-example.html...
No description

Responsive container : max-width or padding ?

Hi, When I create a website, I usually use <section class="container"></section> and ...

React router dom is not redirecting to the route even though the url is changed

Hey I am facing a error. when I try to log in with my admin account on a website I am working in. The url changes but it doesn't redirect me to the admin dashboard. If I reload the website then I will be redirected to the admin dashboard and the issue won't come in if I don't reload after logging out. Why am I getting this error and how to fix it ?...

Seeking Assistance: Centering Issue with Flexbox Header

Hi, I hope you all are doing well. I am writing code for a little design. However, I am facing an issue. As you can see in my header, I have three items: 1- Logo...
No description

Jumping for character

Hello, I am having an issue with making a jumping animation for my character. Here is the code: ```js export function handleKeyDown(event) { const Ita = document.getElementById("Ita");...
No description

Can some review my attempt at this coding challenge?

I deployed it on GitHub pages This is the URL. https://davesamuels1998.github.io/Newsletter-sign-up-form-challenge/ I think I was told that I used a lot of width and height values in many places and that could be bad. Any suggestions towards that. I can't think of anything....
No description

overflowing text in grid area

currently trying to troubleshoot this one: I have a grid of columns, where each item is a grid of implicit areas, and in those areas some text overflowing. The structure is pretty much this: .grid-of-columns>.grid-of-areas>.grid-item>.text ...
No description

max-width media query not applying to max value

I have an odd issue where my max-width media query; eg: @media (max-width: 1023px) is working on everything below <1022px, but at 1023px, it doesn't apply. I have checked dev tools and confirmed this issue. There does not appear to be another media query (eg: @media (min-width: 1023px)) being applied. I know my issue is impossible to diagnose without code, but does anyone know general reasons why this could be happening? I read MDN and it should be applying <=1023....

[React] How does this code look to you?

Friend and I spent a few hours yesterday trying to get setInterval and useEffect to work on our little workout app. Brains were fried, and it works, but we're curious on your opinions on how we 've done it. Can't copy paste the code, but everything is inside the Timer.jsx file. https://github.com/callum-laing/react-playground/blob/main/src/components/Timer.jsx ...