Enforced uniqueness on the recipes themselves and on the ingredients since they're in their own collection, too, and added timestamps. Also maybe got a little overzealous and protected the /login route. I was already hiding the Login button once you've logged in, now I just made sure you also can't manually visit /login
#WebDev #WebDevelopment
Spud
npub1vgsm...vl5m
I'm a web developer and I like video games and sci-fi and cartoons and I've watched all of Star Wars and the MCU (more than once). Also Aliens, Predator and Terminator are the trifecta of awesome imo and sometimes I don't go to work so I can play video games instead ๐
You can put me in your nice little database, my first name is #FuckICE and my last name is db.DomesticTerrorists.drop()
You know you're from #Iowa when the temperature gets back up to the teens and it seems nice out
Someone ordered a taco pizza and added pineapple a while back, and now I want to try that. And just now someone ordered one with only pepperoni and bacon and now I want to try that, too! ๐คค๐๐ฎ๐ฅ #foodstr
I saw someone here mention this method a while back and I've been playing around with creating lighter and darker versions of a color using `hsl()`, some variables and the `calc()` function in #CSS like this ever since.
After a bit of reading I came to understand that HSL is short for Hue, Saturation and Lightness and if you set a color with `hsl()` and start changing each of these values, you will quickly understand how it works.
All you have to do is select the :root in your CSS and then you can just start making your own variables, like this:
:root {
--base-yellow: hsl(54, 100%, 90%);
}
And it started innocently enough, I made a lighter version and a darker version of that yellow by using `calc()` on the "L" part of the HSL, like this:
`:root {
--base-yellow: hsl(54, 100%, 90%);
--base-yellow-light: hsl(from var(--base-yellow) h s calc(l + 6));
--base-yellow-dark: hsl(from var(--base-yellow) h s calc(l - 10));
}`
And then you can use them like this:
`div {
background-color: var(--base-yellow);
}`
And it works great! I now have a variety of different shades that look nice together to use for things like background-color, button colors and borders, etc.
But, me being me, these are the variable names I have so far:
--base-yellow
--base-yellow-light
--base-yellow-lighter
--base-yellow-dark
--base-yellow-darker
--base-yellow-even-darker ๐
--base-yellow-darkest
#WebDev #WebDevelopment
Playing some more #Stalker2, might do some story missions might just fuck around, I do enjoy getting caught up in The Zone
#gaming #gamer #videogames #streaming
https://www.youtube.com/live/-j_AtqGlLSc?si=xEOjuKNffbHI6CO1
The "helper text" in VS code that pops up every time you hover over literally anything should really be called "annoying text" because the only thing it ever actually does (and it does it often) is annoy me. I only ever want it to go away and stop covering the very things I'm trying to read and/or click on. And it's constant.
I turned it off in the settings but it got re-enabled after an update and it's so annoying!
#annoying #fuckingannoying #iamannoyed #webdev #annoyedwebdev #๐จ
Playing a little #Stalker2 if anyone's bored
#videogames #gaming #gamer #PS5
https://www.youtube.com/live/i-cdQgP4vuQ?si=4lO6ZtnqurWkskcw
And I'm pretty sure I can fix the font size problem with the new functions in #CSS, it just hasn't come out of my brain yet. It's still percolating.
You can do the same thing with media queries by just changing the font-size at different break points, and it's all just CSS in the end, but I feel like there's a smoother way to do this with the new functions. I just need to sit down and coax it out.
Maybe someone's already done it. Probably someone's already done it and I just haven't looked.
#WebDev #WebDevelopment #FrontEnd
Will almost certainly keep obsessively fiddling with the styling before it's over, but I finally got the categories saving in the database and displaying at the bottom of each recipe on the index page ๐๐ค๐ป
#WebDev #WebDevelopment


This settings icon on Netflix on our TV isn't centered and it's making me want to infiltrate Netflix as a developer so I can quietly work my way up the ranks until I can fix it


Alright I got the categories for the recipes added to the database and wired into the app and working. That felt like good progress, now I'm going to take a break and play some more #Stalker2
#webdev #webdevelopment
Still absolutely loving my time with #Stalker2 on #PS5, been a fan since the original was new. I appreciate how unexpected and wild The Zone can really be, you truly never know what's around the next corner. This man had a bad day recently and there's a storm brewing.
#videogames

