![]() Likewise, a simple typo or even a missing punctuation mark can prevent a JavaScript program from working, or trigger an error in a web browser. When learning to speak a new language, you quickly realize that placing an accent on the wrong syllable can make a word unintelligible. You’ll need to memorize the words and rules of the JavaScript language (or at least keep this book handy as a reference). You need to learn new words, new punctuation, and understand how to put them together so you can communicate successfully.Įvery programming language has its own set of keywords and characters, and its own set of rules for putting those words and characters together-the language’s syntax. ![]() In many ways, learning a programming language is a lot like learning another language. An average JavaScript program is sprinkled with symbols (, () !=) and full of unfamiliar words ( var, null, else if). Many web designers are immediately struck by the strange symbols and words used in JavaScript. More importantly, you’ll learn how to approach a programming task so you’ll know exactly what you want to do before you start adding JavaScript to a web page. ![]() Throughout this book, you’ll learn fundamental programming concepts that apply whether you’re writing JavaScript, ActionScript, or even writing a desktop program using C++. Still, JavaScript is more complex than either HTML or CSS, and programming often is a foreign world to web designers so one goal of this book is to help you think more like a programmer. But many programming concepts aren’t difficult to grasp, and as programming languages go, JavaScript is a good first language for someone new to programming. Programming can seem like complex magic that’s well beyond the average mortal. And, honestly, some programming is like that. For a lot of people, the term “computer programming” conjures up visions of super-intelligent nerds hunched over keyboards, typing nearly unintelligible gibberish for hours on end.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |