Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the first thing I should try to learn before learning to program? [closed]

Tags:

javascript

I'm coming from an XHTML/CSS background. I don't know much about JavaScript. Would you recommend learning JavaScript before learning a server programming language?

like image 728
Johnny 5 Avatar asked Dec 07 '22 04:12

Johnny 5


2 Answers

No, not really. You could try to learn both at the same time. You can have a lot of fun with AJAX, sending data to and from a webserver to dynamically update your page.

A serverside language like PHP is very similar to JavaScript, so you shouldn't have any trouble learning both at the same time.

like image 181
Marius Avatar answered May 19 '23 17:05

Marius


I think that's a fine idea. If you really understand XHTML and CSS, then doing some simple event programming via jquery could be really fun. That said, what you learn won't make learning a server-side platform easier as the way you work in the two environments, and their trappings, are really different. Still, learning to manipulate the DOM will make your CSS work that much cooler.

like image 30
roufamatic Avatar answered May 19 '23 18:05

roufamatic