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

Need Advice Regarding JavaScript

So I've been wanting to starting learning JavaScript I just wanted to ask if there's any tips anyone can give me and what websites/videos you'd recommend me going to so I can start learning JavaScript

Image .svg responsive

I have 1 .svg image of a logo but in the design of the page on mobile the image is larger than on desktop, how can I make it responsive? (That on mobile I charge with the dimensions you need and on desktop the same) declare its height and width in the HTML for good practices

How to align border-bottom with variable length text?

I have a 3 card/column layout using grid, where each card contains an image, title, and variable length text. I also have a border around just the title and text. (https://codepen.io/Jason-Cabreros-the-sasster/pen/JjzyYNm) Is there a way to stretch the border so they’re aligned at the bottom as well? I’d like to keep the images and descriptions together in one card: ```html <div> <img>...

Curious Coverage Question

I'm curious. What % coverage do you look on caniuse.com before you consider something to be production ready?

Scroll to top button

I would like to add a bar at the bottom of my song pages with the lyrics to scroll back to the top I havent even began yet and i dont know how to

How do you work with 100vh on mobile devices?

Hi Folks, How do you guys work with 100vh on mobile devices when your content is overflowing? I have resolved the issue with setting height to auto but I want to know how others resolve this issue on mobile....

CSS Centering Relative to header

please help I want the text to be centered under the heading and it will be multiple lines of text in one paragraph...
No description

about centering a form

So i got a problem not a master in css, why I can't center a form without the heigh in 100vh? Im using flexbox btw...

HTML Comments

Hi all - is there a VS code extension or a quick way to delete comments on an HTML file before publishing? I’m using more and more comments to keep track of bits and pieces but I don’t want these on the published document. Thank you all!!

color-scheme: dark light; and user enabled theme change with JS

Hi, I want to ask what the best way to do the following is: 1. I want to use
color-scheme: dark light;
color-scheme: dark light;
, 2. have JS recognize which scheme the user has enabled 3. based on which scheme the user has, a button would be used to change to the opposite theme....

How to make such auto-scrolling given fixed height of container ?

https://www.eletypes.com/ In this site when you type and reach second line the first line automatically pushed up. I'm using react to build such application and I don't know whether it can be done from css or js...
No description

Having a difficult time understand sizes and which units to use

I really struggle with what values to put on the padding property? Also I don't know when I should use rems or pixels. I guess this comes from coding instructors online just throwing out numbers without explaining why. Any tips?...

SEARCH BAR (the thing ive been dodging)

I want to code a searchbar with results

Button Styling

I want a see through button with a red border and text in the middle and all of the buttons the same width and the text in them centered. Then when u hover over it it fills it red and the text turns white

can you defer a sass media query

I am trying to do what I saw KP do in his folder setup, however, my media query goes a head of my actual code. I have separated it and I have to use the @use on the top meaning when it imports the query for some reason haves to go on top in the css file. ```scss @media (max-width: 650px) { header { background: blue;...