封面
版权页
Credits
About the Author
About the Reviewer
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Exploring JavaScript in the Console
Installing Google Chrome
Installing Atom
Chrome Developer Tools
Our first program
Why do we use Chrome Developer Tools?
Why do we use Atom as the text editor?
Exercise
Summary
Chapter 2. Solving Problems Using JavaScript
Variables
Comments
Arithmetic operators
More operators and operations
Summary
Chapter 3. Introducing HTML and CSS
HTML
CSS
JavaScript on an HTML page
Summary
Chapter 4. Diving a Bit Deeper
JavaScript methods
HTML buttons and form
If statement
Switch-case
Loops
Summary
Chapter 5. Ahoy! Sailing into Battle
The HTML part
The CSS part
The JavaScript part
The final code
Summary
Chapter 6. Exploring the Benefits of jQuery
Installing jQuery
Explaining the code
Going deeper
Summary
Chapter 7. Introducing the Canvas
Implementing canvas
Adding JavaScript
Drawing a rectangle
Drawing a line
A quick exercise
Drawing a circle
Draw linear gradient
A quick exercise
Let's make a clock!
Summary
Chapter 8. Building Rat-man!
Game user interface
Adding functionalities to the game
Images for Rat-man!
Adding images to our cats
Draw the canvas
Playing the game
Summary
Chapter 9. Tidying up Your Code Using OOP
Inheritance in JavaScript
Encapsulation in JavaScript
Dissecting Hangman
Summary
Chapter 10. Possibilities
JavaScript as your first programming language
All chores can be done by JavaScript
Awesome JavaScript examples
Summary
Index
更新时间:2021-07-16 09:34:52