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 to Prevent Netlify Subdomain from Being Indexed ?

I'm hosting a site on Netlify and using a custom domain (e.g., mydomain.com). I want to make sure the custom domain gets indexed by search engines, but I need to prevent the Netlify subdomain (myproject.netlify.app) from being indexed. Does anyone know how to handle this properly, especially if I'll be moving to Astro later? Are there any built-in Netlify features or other suggestions for this scenario?

'nmp' is not recognized as an internal or external command,operable program or batch file.

My nmp is just not recoginzed i have already enter the path and restarted my computer i wanna start with react but i can't wihtout it
No description

VS Code path auto completion

Hi everyone,
On my old laptop in VS Code I would get autocomplete suggestions when typing in path names like for img src or in css url() for bg img or font etc. However on my new machine I'm not getting that and I have no clue what setting or extension I had setup to enable that. It worked in html, css, js for imports , and for react e.g. img src and imports in tsx, ts, js and jsx file extensions. ...

Anyone have `vscodevim` extension get vim saves eg. `:w` to format on save with prettier?

Anyone have vscodevim extension get vim saves eg. :w to format on save with prettier?

shortcuts

hi guys can someone tell me what is the shortcuts he uses in this video or give me a full list of them so i know what i can use 1-i want to know the shortcuts from 5.30 to 6.30 2-and how to jump after ; like when u wrote hight:60px; then jump after ; https://youtu.be/kINNs4uYYnY?si=pefUnthHCIQ1-oUH...

Can't set absolute paths to Vite Project

Hello I was trying to make sure I could use either typescript namespaces and use absolute file paths for import statements, as this how-to article suggests. my tsconfig.json file is as follows:...

Weird prettier/git behavior

I worked on a project with macOS yesterday and all eslint checks passed ok. Today, after pulling the changes from the remote on windows, without changing anything, eslint checks fail because all files fail to match prettier formatting… when I run prettier formatter on the project, git sees 264 files changed. When I open the changes though, literally nothing was changed (not even a line break)… I want to add that I have a project-wide prettier config so there are no changes between the OS’ prettier configs. Does anyone know about that behavior? Have you ever seen it and know how to fix it without having to commit 264 files without any changes?...

React testing library debug

How do I debug unit tests written using react testing library? Apart from screen.debug() As screen.debug is not fully printing the fom when it gets larger....
No description

my vs code emmets not working

```{ "editor.mouseWheelZoom": true, "code-runner.runInTerminal": true, "code-runner.saveFileBeforeRun": true, "debug.showInlineBreakpointCandidates": false,...

vscode design (like animations ans other js css html addinh)

hi guys i want to add a code with html css and js to the default page (im using vscode app in widows)(the default page is where u try to write the codes or generally the whole page with full size in the app) so yea i wanted to add html and jss to the page but i didnt find anything that can add it so i ask it here is there a way to add html css and js together or seperatly in the app if yes what should i install or do?...

Animate between a moon path to a circle

I have this moon SVG that I want to animate to a sun (in a web app). I would use a clip path if it wasn't for the path having a stroke and not being filled. Now I'm looking for a tool to convert the path to a circle (for the sun), with the same amount of vector points. Is there such a tool somewhere? Or do you have any other recommendations how to solve this?...

Can Someone Help Me Know Why My Browser Isn't Popping Up?

Hey there! I have a quick question - can someone help me figure out why this particular app isn't opening for me? All my other apps are working just fine. Thanks in advance for any assistance!

Network connections

Good day. Please tell me how to implement connecting a large number of elements to the network, I depicted the operation of the network in the diagram, if you need to change it, then tell me what is the best way to proceed. P.S. I don't understand this at all....
No description

Error when git cloning a React & Vite & Typescript repo

Hi! So I tried to import this project that uses React, Vite and TS, but when I do I get this error everywhere and when I try to run the npm run dev command, it doesn't work properly... Does anyone know how to fix this issue? Thank you!...
No description
Next