Du er ikke logget ind
Beskrivelse
In just 24 lessons of one hour or less, Sams Teach Yourself JavaScript in 24 Hours helps you learn the fundamentals of programming using the JavaScript language. Designed for beginners with no previous programming experience, this book's straightforward, step-by-step approach shows you how to use JavaScript to add a wide array of interactive features and effects to your web pages. Every lesson builds on what you've already learned, giving you a rock-solid foundation for real-world success. Step-by-step instructions carefully walk you through the most common JavaScript programming tasks. Practical, hands-on examples show you how to apply what you learn. Quizzes and exercises help you test your knowledge and stretch your skills. Notes and tips point out shortcuts and solutions. Learn how to: Use JavaScript to build dynamic, interactive web pages Debug scripts Create scripts that work in all browsers Write clear, reliable, and reusable code Use object-oriented programming techniques Script with the DOM Access JSON data Work with HTML5 and CSS3 Leverage the popular jQuery library Control CSS with simple JavaScripts Read and write cookies Use some of the new ECMAScript 6 features today Get started with frameworks such as AngularJS Build browser add-ons and extensions Who This Book Is For: Those who have at least a basic understanding of HTML and web page design in general and want to move on to adding some extra interactivity to your pages. Those who currently code in another programming language and want to see what additional capabilities JavaScript can add to your armory Someone who has never done any computer programming. Browse through an HTML primer before using this book. You don't need to be an HTML expert to use JavaScript but should have a basic understanding. Contents at a Glance: Part I: First Steps with JavaScript 1 Introducing JavaScript 2 Writing Simple Scripts 3 Using Functions 4 DOM Objects and Built-in Objects Part II: Cooking with Code 5 Numbers and Strings 6 Arrays 7 Program Control Part III: Objects 8 Object-Oriented Programming 9 Scripting with the DOM 10 Meet JSON Part IV: HTML5 and CSS3 11 JavaScript and HTML5 12 JavaScript and CSS 13 Introducing CSS3 Part V: Using JavaScript Libraries 14 Using Libraries 15 A Closer Look at jQuery 16 The jQuery UI User Interface Library 17 Ajax with jQuery Part VI: Advanced Topics 18 Reading and Writing Cookies 19 Coming Soon to JavaScript 20 Using Frameworks 21 JavaScript Beyond the Web Page Part VII: Learning the Trade 22 Good Coding Practice 23 Debugging Your Code 24 JavaScript Unit Testing Part VIII: Appendices A Tools for JavaScript Development B JavaScript Quick Reference