Head First JavaScript (Paperback)

Michael Morrison




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.




準備好從撰寫 HTML 和 CSS 網頁跨足到創建動態網頁應用程式了嗎?你想將你的網頁技能提升到下一個層次,並在履歷中加上「程式設計師」這個頭銜。聽起來你準備好學習網頁最熱門的程式語言:JavaScript了。《Head First JavaScript》將帶你超越從別人的網站複製貼上程式碼,並寫出自己的互動式網頁。

在《Head First JavaScript》中,你將學到:
- 從變數到類型到迴圈的基礎程式設計知識
- 網頁瀏覽器如何執行你的程式碼,以及如何通過程式碼與瀏覽器進行交互
- 在撰寫 JavaScript 程式碼時,你永遠不需要擔心類型轉換、重載或多型
- 如何使用文件物件模型(Document Object Model)在不讓使用者點擊按鈕的情況下改變你的網頁

如果你曾經閱讀過《Head First》系列的書籍,你就知道可以期待什麼——視覺豐富的格式,設計符合你的大腦運作方式。《Head First JavaScript》也不例外。它從 HTML 和 CSS 結束的地方開始,帶你進入第一個程式,然後進一步探索更複雜的程式設計概念——例如直接使用網頁瀏覽器的物件模型並編寫適用於所有現代瀏覽器的程式碼。