《Head First JavaScript》简介:
Want to make the leap from writing HTML and CSS web pages and create dynamic web applications? Want to take your web skills to the next level? It sounds like you're ready to learn the Web's hottest programming language: JavaScript. Head First JavaScript is your ticket to going beyond copying and pasting the code from someone else's web site, and writing your own interactive web pages.
So you're ready to make the leap from writing HTML and CSS web pages to creating dynamic web applications. You want to take your web skills to the next level. And you're finally ready to add "programmer" to the resume. It sounds like you're ready to learn the Web's hottest programming language: JavaScript. Head First JavaScript is your ticket to going beyond copying and pasting the code from someone else's web site, and writing your own interactive web pages.
With Head First JavaScript, you learn:
The basics of programming, from variables to types to looping
How the web browser runs your code, and how you can talk to the browser with your code
Why you'll never have to worry about casting, overloading, or polymorphism when you're writing JavaScript code
How to use the Document Object Model to change your web pages without making your users click buttons
If you've ever read a Head First book, you know what to expect — a visually rich format designed for the way your brain works. Head First JavaScript is no exception. It starts where HTML and CSS leave off, and takes you through your first program into more complex programming concepts — like working directly with the web browser's object model and writing code that works on all modern browsers.
Don't be intimidated if you've never written a line of code before! In typical Head First style, Head First JavaScript doesn't skip steps, and we're not interested in having you cut and paste code. You'll learn JavaScript, understand it, and have a blast along the way. So get ready… dynamic and exciting web pages are just pages away.
《Head First JavaScript》摘录:
while loops let you repeat code while a certain condition is true.