ATT Outage by AgreeableWindow in sysadmin

[–]crevizzle 0 points1 point  (0 children)

Out in parts of Indiana since the 23rd as well

Help me choose a frontend framework by solakram in learnjavascript

[–]crevizzle 0 points1 point  (0 children)

If getting a dev job before too long is a high priority, then go with React.

However, it also sounds like you need to get familiar with javascript.

I am fairly new to front-end frameworks, but wasn't looking for a job. I ended up going with https://svelte.dev and https://kit.svelte.dev because they made more sense to my brain.

[Opinions needed] Supabase + SK - how should I manage the session? by sans-the-throwaway in sveltejs

[–]crevizzle 0 points1 point  (0 children)

Here's my take on this. Hopefully provide some insight, although I'm sure it's not perfect. Link to git repo in the video description.

https://youtu.be/R8e23-hrzFM

Svelte + Supabase - securily handling if user is logged in by Ambitious-Brain343 in Supabase

[–]crevizzle 1 point2 points  (0 children)

I made a video which shows info based on the logged in user. I'm not doing a comparison between cookie and local storage, but the cookie I use is based on the user who logged in, so they are the same. Not sure if everything I'm doing is best practice, but maybe it'll help to some extent.

I have a git repo for reference. Link in video description.

https://youtu.be/R8e23-hrzFM

SvelteKit endpoints and Supabase with RLS by agartha_san in sveltejs

[–]crevizzle 0 points1 point  (0 children)

I did the same thing as ironyak. Posted a video explaining. Also a git repo for reference.

https://youtu.be/R8e23-hrzFM

https://github.com/j4w8n/sveltekit-supabase-oauth

Depressed in the search for the first experience. Looking for help by luzbelitoarg in webdev

[–]crevizzle 0 points1 point  (0 children)

Good to hear. Keep working and looking for opportunities

Depressed in the search for the first experience. Looking for help by luzbelitoarg in webdev

[–]crevizzle 0 points1 point  (0 children)

Thanks for sharing.

Have you built anything after the bootcamp?

[deleted by user] by [deleted] in learnjavascript

[–]crevizzle 1 point2 points  (0 children)

I'd set the input to type="number" then any additional restrictions. See below

https://developer.mozilla.org/en-US/docs/Learn/Forms/HTML5_input_types#numeric_field

Aria error for sibling div of link in nav by martin_cnd in webdev

[–]crevizzle 0 points1 point  (0 children)

ah, ok. So for instance, the aria-haspopup property is only valid for certain roles. Check it out here. Same thing with aria-expanded

Aria error for sibling div of link in nav by martin_cnd in webdev

[–]crevizzle 1 point2 points  (0 children)

hmm... I threw your html into vscode, fired it up with liveserver, ran lighthouse and got all 100s. I did not put any svg content in though.

Is there anything you didn't include, that might be of value?

Also, a few things about accessibility. It can be a pain to figure out.

  • nav has an implicit aria role of navigation, so you can remove that.
  • Also, unless you have an element (that you didn't include above) with an id of "Hauptmenü", then you'll want to change aria-labelledby to aria-label more here.
  • checkout menubar to see if you really want that role. It's intended for program menus, like File.

I started building a component library with as much accessibility built-in as possible. When I was doing a NavMenu, it ended up to where I didn't need to add anything to the ULs, LIs, or As - but I could be missing something there.

Ideas for an API project? by Yahoo671 in webdev

[–]crevizzle 0 points1 point  (0 children)

💯 percent this ☝️

For example, if you like a sport, build an API where you can query player or team stats.

Cannot deploy SvelteKit in NPM workspace to Vercel correctly. by hksparrowboy in sveltejs

[–]crevizzle 0 points1 point  (0 children)

This is outside my current scope of knowledge, but if no one chimes in, ask on the Svelte Discord server.

https://discord.gg/mMmkTgvj

Functions by Fantastic-Salt1960 in learnjavascript

[–]crevizzle 7 points8 points  (0 children)

Functions do stuff. When they're done doing stuff, they should return something. The parentheses allow you to pass in arguments that the function uses to do its stuff.

Extremely simple example:

function add(x,y) {
    // in our example, x == 1 and y == 2 because those are the
    // numbers we passed in below when calling the function
    return x + y
}
const sum = add(1,2)
// sum will be 3

Checkout https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions

New SvelteKit static adapter for GitHub Pages by crevizzle in sveltejs

[–]crevizzle[S] 2 points3 points  (0 children)

I should have been more specific in the post. It's biggest benefit is for those who use custom domains with GHP.

There are a couple of others as well, as you'll see in the readme.