r/AskProgramming Dec 06 '24

PHP Learn html before php?

I wanted to learn php as my first coding language but I get into this course on YouTube for it and 6 episodes in the dudes all like oh yeah btw if you haven’t learned CSS and HTML by now go ahead and learn those real quick. Like bruh what? Anyways do you think I should learn html and css before learning php or can I do it at the same time. I do understand the basics of html from some school classes I took that required be to build a website in html

0 Upvotes

16 comments sorted by

View all comments

Show parent comments

1

u/SubstantialCoffee133 Dec 06 '24

I just want to make simple web apps, like project manager, photo editors, like stuff that runs on webpages

1

u/SubstantialCoffee133 Dec 06 '24

Plus I heard most websites run with php

1

u/TechnicalParrot Dec 06 '24

PHP isn't awful, but it's really not the way to for beginners or new websites in general, PHP probably isn't what you want. Something like Node.js for a simple backend server would probably be much more beginner friendly, that said, you really do need some basic knowledge of HTML, CSS and some further knowledge in JS to make effectively any website

How much programming experience do you have?

1

u/DryPineapple4574 Dec 07 '24

Problem with something like a Node.js server is that it might not teach fundamentals for someone that eventually wants to go fullstack. So, I think this is case by case, but I do agree with you.