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

help

What are some good backend hosting options?

I have a spring-boot + graphql backend connected to a postgres database and Im currently looking for good hosting options. Looking for recommendations, thanks!

Fat Arrows and This

Alrighty, without giving me the answer, let me know A) this question makes sense to you and B) if this is something I should care about. I'm stumped.
No description

How do Hooks work in programming and in React?

Hello, can someone explain what are hooks in programming, more specifically in React please, what do they do?

why font-feature-settings: styleset(ss01) isn't working on outfit font ?

<h3 class="t">t</h3> ```.t { font-family: 'Outfit'; font-size: 2.3rem; color: #fff6e2;...
No description

Css vs tailwind

Hello anyone that will come across this my question I find confidence building with tailwindcss and bootstrap than vanilla css Can I go for it and can a client accept it...

Is it worth learning a CSS Framework?

I'm self taught and have been coding for a couples years now and feel super comfortable just using vanilla CSS. Sometimes I run into very specific issues and ask someone for help and they just say I should use Bootstrap or something similar, and they can't help me. From the outside it seems like people who only use CSS frameworks don't have the base knowledge of CSS and can't problem solve smaller problems without their framework. My philosophy when first learning was to thoroughly learn everything in it's natural, vanilla state first, and then maybe move to frameworks if it was worth it. What is everyone else's experience? At this point I'm debating if it's worth using up my brain's RAM and Memory to learn a CSS framework or if it's irrelevant since I'm more than proficient in vanilla CSS. lol. Thanks for the help!!...

Components in front-end frameworks

Hello, I'm currently learning React, I often saw the term "component" widely use across the docs. This is not only in React but also in other frameworks, like Vue (Vue components). I was wondering, what do we mean by "component"? It's just a small piece of what HTML element we are going to create?

Static site generator vs creating files manually

Hello, can someone explain what's the purpose of a static site generator? How does it differ from the normal way of creating an HTML file?

Css reuse

Communities don't get offended by this question, can i create my own navbar that is responsive and push it to GitHub, Whenever I want to use it I will get it there and modify it to my test i am just a self taught programmer that's why i am asking To make work easier for me You people are my hope, I am teaching myself programming that's why I ask questions...

Is this design OK?

I'm playing around with styles but do not really know what are the design guidelines. I want someone experienced to give me some criticism on what I can improve and why.
No description

Dynamic justification based on intrinsic column count

Hello folks! I'm layout something out with CSS Grid: four items. I'm going for a two-column layout on wider viewports, and one-column on narrow viewports. So far so good, including making the switchover intrinsic rather than resorting to media (or container) queries. The sticking point is that I'm looking to justify the items separately in the two cases. For the one-column layout, I want the items centered or stretched (not fussed either way), but for the two column layout I'd want the left column right-aligned and the right column left-aligned. ASCII art demonstration:...

Component position changing when opening developer portal

Hello, I've been trying to work on frontend mentors' exercises. In the one I'm currently doing, when I open my developer portal, the height and position of the component change. Here's my code: ```js import { useState } from "react"; ...

cors trouble with localhost

I am trying to set up cors so that it works with vite front end. But it keeps failing even tho the console error in chrome seems to say that the origin matches. I found this bug but I can't really make sense of why this is the behaviour unless even the people in the bug thread don't know how to explain this https://issues.chromium.org/issues/40499674...
No description

Overflow and container best practices

Does anyone know a best practice to fix the problem where say, I shrink the width of the viewport, but the content overflows (due to typography i think). Even though I am using clamp on my font-sizes. 😦 Need some urgent help with this. In the image you can see that content is overflow. Here's my css: https://github.com/ajkdrag/cutmycode/tree/main/static/css...
No description

Css issues

Jotting down something's on css like how to make the navbar hamburger button clickable, Is it a good way of learning I was given a project to build that's why I am asking Is not that I can't code navbar I can make a nav menu to hide on small screen but making it clickable is the issue Is it a good way of learning...

Server side vs Client side routing

Hello, can someone confirm whether the following statement is correct please: From what I've understood from server side routing, it's every routing logic happening in our back-end, like when we access the /About page, what route is responsible for that web page and how is it being delivered to the client. On the other hand, client side routing is when we navigate from page to page in our web app itself. Like when we click on the About button, should we be redirected to another page? Should the view of the current page be changed? This is what we call single page web app, when we have a single html page but multiple views?...

image question

Im busy with another FEM Challenge. Now on mobile the image has to take the whole width But on desktop it has a fixed max width Can I do something like this : ...

Looking for UI help, tips, or advice

I am working on a recipe app and i have this page as one of the create options. I feel like this page isn't as clean as it could be, any advice appreciated!
No description

Best web project to get hire ?

hello im studying web dev for over 2 years and i use tall stack currently im focusing to build project to get my first job but not sure wich web project is good? i currently build Advance Ecommers , learning management system , job board , school management ststem , ( all full stack) im not sure what should i do should i still make more project or try applying for jobs ?...

do while loop help

```javascript function cpuChoice() { let randomNumber do { randomNumber = Math.floor(Math.random() * tilesArr.length);...