After learning HTML/CSS, shouldn't you learn PHP because it allows you to make the forms on a website work?
I don't know what to learn after HTML and CSS… PHP or Javascript.
I'll be finished with the HTML and CSS course soon. But if you integrate forms into your website, for example, you can't really use them without a programming language…
I hope you understand what I mean… Thanks 🙂
Hello DeathRow36,
you have the right to send form fields without a script that accepts and processes the post or get data, see https://html-einfach.de/mit-php-e-mails-versenden-kontaktform/
Consider whether you have some of these applications (you can also copy code from the internet and try to hang along it) or whether you want to make regular forms, calculations etc. Then a PHP course is worth it. I found the one of php-einfach.de good.
As mentioned above, JavaScript would also be a good option. I would first put frameworks back until you can either in JS or PHP basics. This helps to understand enormous programming (eg creating instances of objects, filling and reading arrays, session variables etc.). These things are, without a framework, a bit more complicated, and they are more fundamental.
You have many options (eg Nodejs, PHP, Python).
I personally chose Nodejs.
Why?
I also use the React framework Nextjs.
In the end, you have to decide what's best for you.
This depends on how the form data are to be processed.
If you want to do this on the client (ie by the user), Javascript is the better choice. If this is to be performed on the web server, a server-side language is better suited.
And if you want to save you the constant return and return of data between server and client in case of faulty inputs, you will already carry out the check for plausibility on the client and the processing on the server and therefore want to use both PHP and JS.
I would suggest you JavaScript, because this language can be used more versatilely. Starting with relatively simple functionalities, mobile and web apps and native desktop applications based on web technologies. If you've rehearsed in JavaScript and a solid basic knowledge of your own, I'd connect directly with TypeScript. TypeScript is, in simplified terms, a "Topset" and extends JavaScript to useful "components".
See frameworks and libraries such as Angular, Vue/Nuxt and/or React, React Native and Next. And if you want to build a mobile app or desktop applications, Cordova and Electron are your friend. When it comes to storing data in a database and retrieving it from such a database, Firebase and MongoDB would be an approach you can pursue. And even beyond, there are more cool stuff. :
LG medmonk
Clearly, according to statistical sites with HTML, PHP would also be useful
To evaluate forms
To send mail
To offer SQL database
To create dynamic sites
…
…
JavaScript is not a must to evaluate form data, but has many, many advantages. You should learn JavaScript before you can enter user events and do not have to reload the page when sending the data. In addition, JavaScript and PHP have a similar syntax and structure as these programming languages originate from the same language family C.
It would be a good decision to learn both.
Yeah.
PHP is more sensitive, Javascript is usually superfluous.
Alex