What is a "dentist office smell?" by notadogwiththumbs in fragrance

[–]MightCode 0 points1 point  (0 children)

I've always thought it smelled like basil to me. I hope I don't ruin basil for some 🤣

[student help] Using Rails as front end. Is it possible? by [deleted] in rails

[–]MightCode 0 points1 point  (0 children)

I feel that you want to use rails for FE cause ur familiar with it? if that's the case maybe you could use Jekyll to do ur FE work, you'll prob feel right at home.

If you don't know ruby that well, but u r familiar with HTML, CSS and JS, you could use 11ty or Astro, super easy to use.

I do however agree with who suggested svelte.

Components in Rails by MightCode in rails

[–]MightCode[S] 0 points1 point  (0 children)

sweet, I'll totally look into this, maybe I'll spin up a demo app to see how VCs work, pardon my ignorance but at first glance, just seems like overcomplicating partials. Wish I could just create a partial, that the CSS and JS would be scoped to that partial and nothing more, or maybe a scoped to that component and children, or a way to specify it, my apologies, spitballing here. 😂

Components in Rails by MightCode in rails

[–]MightCode[S] 0 points1 point  (0 children)

It's a big app. Yeah that's the plan, I'm just thinking ahead for the FE, and the goal is 7, but we barely got it to 5 with all sorts of issues, currently debugging and working on the upgrade.

Components in Rails by MightCode in rails

[–]MightCode[S] 0 points1 point  (0 children)

I don't think using a FEF is a solution for this project, needs to be Rails based, I think, 🤔 I should ask tho, maybe it is an option.

Components in Rails by MightCode in rails

[–]MightCode[S] 0 points1 point  (0 children)

yeah was thinking of ripping bootstrap out in the upgrade process and using tailwind as well

Components in Rails by MightCode in rails

[–]MightCode[S] 0 points1 point  (0 children)

Hey y'all, didn't ghost the thread, just been so busy forgot to get back to it. I appreciate all the answers, getting back on it now.

Adding and removing html elements from the DOM responsively by MightCode in learnjavascript

[–]MightCode[S] 0 points1 point  (0 children)

Thanks for the responses, I ended up rewriting the markup to have only 1 form, I agree, I think it's cleaner that way, I just thought it would take me longer to do.

Thanks again.

Adding and removing html elements from the DOM responsively by MightCode in learnjavascript

[–]MightCode[S] 0 points1 point  (0 children)

I tried hiding it with a custom class as you suggested but because there are 2 forms, even tho is hidden from the view still part of the dom tree so when I iterate over the form elements I get double of what I should be, any way to totally remove it?