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

Display none isn't working as intended

HI o/ I have to make a task thingy and everything worked as long as there was a button I used to close and open the single tasks, but then I had to change it to radio buttons (see img) since then I can only delete tasks but the display none thing isn't working anymore. [ only show open] [only show a specific person selected] I put in console output so I can track if the value change works and that seems to work just fine. I think sth with the display isn't working 😦 ...
No description

Can this be easily the made with html and css

Hello I found this image of a nice card that I can use for a project ...
No description

Who has worked on mobile apps ?

I'm using expo and react native for the first time woth the untiial thought "it cannot be that different from web dev"...who cam trauma bond over this ? It reminds me of html emails but even worse as theres not even <tables> to fake a grid. All my responsive cas knowledge is for naught. And why are so many of the packages not maintained ?? I'm so stuck on the styling of it all (since even the most basic of css properties aren't applicable eg background-image, background-position...oh gosh i just wrote that as backgroundPosition) but mostly creating custom animations. If I can't create @keyframes, how do i create animations on mobile ap0s ?...

how to fix the mobile in lighthouse test

sure the website in desktop scores good but in mobile it's soo bad, i just need to mimic the mobile lighthouse test in the perf tab just to see what's going on i keep getting 60~65 ish on mobile lighthouse, mainly because of the LCP; i tried to mimic the lighthouse testing in the performance tab ...
No description

Arduino vs Raspberry pi

Hello guys, sorry to disturb you all... is there any expert in arduino or raspberry pi here please. I want to get started with IoT (internet of things), I want to have my own server (I saw someone on youtube creating his own server using only his rasbperry pi).... I don't really know what's the difference between an arduino or a rasbperry pi... would really appreciate if someone can just give me an overview and if someone can recommend me what to have to build my own server and just get started with IoT, will really appreciate :c...

Spaces around a Slash or not?

On mobile for an accordion menu, which do you like better... News/Analysis News / Analysis...

Can I mix Labels and Links in an Accordion Menu?

For mobile, can I have both text labels/headings and hyperlinks? In the mockup, "News & Analysis" would be a text heading, to tie together these hyperlinks.. "by Subject"...
No description

I'm not sure why I'm getting this error.... I downloaded only from microsoft official things?

So for some reason there's a non trusted instance being used for the license? Which I don't quite get, nor do I understand how to resolve it (as I don't know what the actual issue is...)
No description

Creating curved text

I want to create a half-circular curved text. I found a few articles: https://css-tricks.com/snippets/svg/curved-text-along-path/ The issue is, these don't seem very responsive and I have to pick very specific font-sizes to get this working. Is there an easier way or would it almost be better to just make it an image and give it alt text?...

Can't give a background color to the image

I'm displaying and image using the background-image property and I also want to make the image a lil bit darker using background-color here's the picture(left one) and here's how I want it to look like (right pic) I also tried background:color url(path) but that didn't work too...
No description

Sum Count Of Weekend Days In Overlapping Periods (MySQL)

I need to get a total count of all Fridays and Saturdays for all overlapping periods against my selected Checkin and Checkout dates. Table "special_prices" structure: ``` - id (int)...

Improvments for my design

Hey Guys I just wanted to ask for your feedback on the design. Do you see any areas for improvement? Please note that the text and images are currently just placeholders...
No description

need feedback/suggestions for UI

So I'm creating application and it has Screenlock / changing PIN/Adding PIN , So my all 3 of it has following same UI but different text as "Change your pin" , "add a pin" , "enter u r pin" , So i done with functionalies but Is there any way I can improve my UI or I'm thinking about lock svg / icon with like when I unlock , want to show a animation of its being unlocked or should I go with like showing text as "incorrect password" or should I trigger a vibration if it's incorrect I find a gap at top a big so yeah...
No description

Does jumping from a menu to a landing page hurt Site-Indexing?

Not sure where to ask this... On mobile, does it hurt SEO if a user jumps to a sub-section from a menu? For example, let's say that I have this structure... (see screenshot)...
No description

Firefox default size for iframes

I manage a website for a sports club where they use Google Sheets to manage competition data, and the sheet calculates league positions. I then embed sections of spreadsheet pages on their website using iframes so that players have access to results and league positions. The website is built in WordPress using the Elementor page builder. The iframes work fine in Chrome, but in Firefox, the "window" is limited to 150px as Firefox does not accept a height of 100% as a valid parameter - I believe t...

How to add custom fonts with tailwind

How to add custom fonts with tailwind

Invalid hook call

I dont even know how to tackle the problem, all i know it has something to deal with ``` export const useAuth = () => { const context = useContext(AuthContext); if (!context) {...

Deal with images of different aspect ratio inside grids

What I get is the thing you can see in the pic attached. This is the code behind it: ```scss .posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, auto)); // fluid grid...
No description

Metallic animated CSS Gradient

I have an animated CSS only Gradient on https://westnine.tempurl.host/ that I am trying to make look like a metallic shimmer but only using the colours within the SVG. At present it is looking a bit rainbow-y for lack of a better word. Can anyone help? 🙏🏻...

Choosing appropriate database based on type of data

Hello guys, was just reading a bit about structured and unstructured data. I read that normally, social media posts unstructured data. Basically, in order to store unstructured data, we use databases like MongoDB (a kind of NoSQL database I think). My question is, I remember that I was doing a small project on a social networking site and I read in a post somewhere that it's better to use a relational database like Postgress rather than mongodb. Can someone elaborate why please. Because here we have both structured and unstructured data, so which kind of database/types of database would be the most appropriate.... is it possible to use a combination of both?...