Using AI for HTML and CSS only
Posted by Firu_Kerubin@reddit | learnprogramming | View on Reddit | 13 comments
I have a basic understanding of HTML and CSS, and it's really annoying to code it out specially CSS so i was thinking of just using AI to save time and mainly focus on my app/projects functionality.
What are your thoughts on this? Is this a good practice or should i just stick to manually typing it all out?
And of course i will skim through the AI's codes and understand them.
Financial_Extent888@reddit
It's fine to use AI for things you already know how to do and it saves a lot of time, just check the output when you're done.
SpecOpsAI@reddit
I think your approach of using AI makes a lot of sense. Using AI to speed up this process is actually a practical and modern approach. However, it’s important to make sure you’re not relying on it too heavily. Skimming through the AI-generated code is a good start, but you should also take time to understand why certain styles or structures are used, so you can debug issues and make changes confidently later.
stiky21@reddit
No one enjoys writing CSS. So AI will always be my CSS goblin.
Dapper_Bus5069@reddit
I like it, and I when I use AI in my dev work I always add "don't write any CSS"
Firu_Kerubin@reddit (OP)
will no one criticize that the app or web looks like its AI generated?
hofmann419@reddit
You should know how to work with CSS to get your desired look. Even if you use AI to set it up, you can still change the parameters to customize the look.
stiky21@reddit
Fine tune it afterwards. AI can spit out decent and sometimes not decent. You are the developer who can then modify as needed.
Individual-Job-2550@reddit
Im actually one of those psychopaths that enjoys writing CSS
stiky21@reddit
Damn, okay I didn't know your kind still existed hah!
YouSufficient1563@reddit
Honestly, using AI for HTML/CSS is fine, but the catch is you still need to understand why it’s doing what it’s doing.
CSS especially can get weird fast, and if something breaks, you don’t want to be stuck tweaking random values without knowing what’s going on. Using AI as a starting point is great, just make sure you’re actually learning from the output instead of just pasting it in.
Dry-Hamster-5358@reddit
Using AI for HTML and CSS is fine, most people do it now. Just make sure you’re not blindly copying
If you don’t understand layout, spacing, and responsiveness, it will hurt you later
A good approach is to generate first, then tweak and break it yourself. Tools like Runable, along with your editor or browser devtools, can help you quickly test variations and see what works, but you still need to understand why it works
Think of it as speeding up, not replacing learning
PalpitationOk839@reddit
Using AI is okay as long as you review the code. If your codebase stays clean and runable, it’s a good way to save time.
Beregolas@reddit
I am currently doing frontend work, and from my experience after playing around with AI for CSS specifically: It can generate okay CSS classes, but no whole designs. If you want things to look good, and not like somewhat competent slop, you need to design things yourself. Preferrably, before even starting to code, on Paper and/or software like Figma.
If you already know what you want, and you just forget how to express that in CSS, using the AI as a natural language -> CSS converter can work pretty well. Just be aware, that it's code design and architeture suck ass, and if you want your CSS to be maintainable for a big project, you will also need to learn how to structure it well.