Muutke küpsiste eelistusi

E-raamat: Begin to Code with JavaScript

  • Formaat: 512 pages
  • Ilmumisaeg: 05-Aug-2021
  • Kirjastus: Addison Wesley
  • Keel: eng
  • ISBN-13: 9780136870678
Teised raamatud teemal:
  • Formaat - PDF+DRM
  • Hind: 28,07 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: 512 pages
  • Ilmumisaeg: 05-Aug-2021
  • Kirjastus: Addison Wesley
  • Keel: eng
  • ISBN-13: 9780136870678
Teised raamatud teemal:

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

This full-color book will inspire beginner JavaScript learners to start solving problems and creating programs with JavaScript, even with absolutely no programming experience. It is not just friendly and easy: it is the first JavaScript guide for beginners that puts readers in control of their own learning and empowers them to build unique programs to solve problems they care about. Begin to Code with JavaScript is packed with innovations, including its "Snaps" library of pre-built operations that are easy to combine with their own unique programs, Cookie Cutter templates that give them a flying start, and "Make Something Happen" projects that help them build skills by creating their own programs.



Become a JavaScript programmer—and have fun doing it!

Start writing software that solves real problems, even if you have absolutely no programming experience! This friendly, easy, full-color book puts you in total control of your own learning, empowering you to build unique and useful programs. Microsoft has completely reinvented the beginning programmer’s tutorial, reflecting deep research into how today’s beginners learn, and why other books fall short. Begin to Code with JavaScript is packed with innovations, from its JavaScript code samples you can interact with straight from your browser to its “Make Something Happen” projects. Whether you’re a total beginner or you’ve tried before, this guide will put the power, excitement, and fun of programming where it belongs: in your hands! Easy, friendly, and you’re in control!

 

Learn how to…

  • Get and use the powerful free Visual Studio Code tool for JavaScript programming
  • Explore the JavaScript environment and see what happens when programs run
  • Learn key concepts from example programs, and use them to jumpstart your own
  • Create web pages containing JavaScript programs using HTML and CSS
  • Write complete JavaScript programs that run inside browsers
  • Master JavaScript features for storing and processing data
  • Break large programs into small, flexible components
  • Use software objects to create custom data types to solve specific problems
  • Design more attractive and usable applications
  • Make your programs more secure and reliable
  • Use libraries and frameworks to create powerful software more quickly
  • Get started with the essentials of interactive game development

 

About This Book

  • For absolute beginners who’ve never written a line of code
  • For anyone who’s been frustrated with other beginning programming books or courses
  • For people who’ve started out with other languages and now want to learn JavaScript

Introduction xiv
Part 1 The world of JavaScript
1 Running JavaScript
2(24)
What is JavaScript?
4(2)
JavaScript origins
5(1)
JavaScript and the web browser
6(1)
Our first brush with JavaScript
6(7)
Tools
13(9)
Getting Git
13(2)
Getting Visual Studio Code
15(1)
Getting the sample files
16(3)
Working on files with Visual Studio Code
19(3)
What you have learned
22(4)
2 Hypertext Markup Language (HTML)
26(36)
HTML and the World Wide Web
28(1)
Fetching web pages
28(1)
What is HTML?
29(13)
Display symbols
32(2)
Lay out text in paragraphs
34(1)
Create headings
35(1)
Use preformatted text
35(3)
Add comments to documents
38(1)
Add images to web pages
38(3)
The HTML document
41(1)
Linking HTML documents
41(1)
Making active web pages
42(10)
Using a button
42(2)
Reading input from a user
44(5)
Display text output
49(3)
Egg timer
52(5)
Adding sound to the egg timer
55(1)
Controlling audio playback
56(1)
An image display program
57(1)
What you have learned
58(4)
3 Cascading Style Sheets (CSS)
62(32)
Putting on the style
64(21)
Splashing some color
64(4)
Work with fonts
68(3)
Text alignment
71(1)
Make a ticking clock
72(2)
Create a ticking clock
74(3)
Margins around text
77(5)
Creating style classes
82(2)
Formatting parts of a document using <div> and <span>
84(1)
Cascading styles
85(2)
Color highlighting using selectors
86(1)
What you have learned
87(7)
Part 2 Coding with JavaScript
4 Working with data
94(50)
Computers as data processors
96(7)
Programs as data processors
98(1)
JavaScript as a data processor
99(1)
Process data with expressions
100(3)
Data and information
103(2)
Variables in programs
105(13)
JavaScript identifiers
108(2)
Performing calculations
110(2)
Whole numbers and real numbers
112(2)
Real numbers and floating-point numbers
114(2)
Creating random dice
116(2)
Working with text
118(9)
JavaScript string delimiters
119(1)
Escape sequences in strings
120(1)
Working with strings and numbers
120(2)
Converting strings into numbers
122(2)
Make an adding machine
124(3)
Making applications
127(6)
Calculating a pizza order
127(3)
Converting between Fahrenheit and centigrade
130(1)
Adding comments
131(2)
Global and local variables
133(7)
Global variables
134(6)
What you have learned
140(4)
5 Making decisions in programs
144(32)
Boolean thinking
146(12)
Boolean values in JavaScript
146(3)
Boolean expressions
149(5)
Logical operators
154(4)
The if construction
158(3)
Adding an else part
159(2)
Use decisions to make an application
161(12)
Build the user interface
163(2)
Add the code
165(3)
Using the switch construction
168(5)
What you have learned
173(3)
6 Repeating actions in programs
176(30)
App development
178(18)
Adding data attributes to HTML elements
184(4)
Using an unordered list as a container
188(3)
The JavaScript for loop
191(4)
Work through collections using for-of
195(1)
Building web pages from code
196(7)
Deleting elements from a document
201(2)
What you have learned
203(3)
7 Creating functions
206(34)
What makes a function?
208(29)
Give information to functions
213(3)
Arguments and parameters
216(2)
Multiple parameters in a function
218(1)
Using references as function arguments
219(2)
Arrays of arguments
221(1)
Returning values from function calls
222(5)
Add error handling to an application
227(6)
Local variables in JavaScript functions
233(4)
What you have learned
237(3)
8 Storing data
240(34)
Collections of data
242(29)
Ice Cream Sales
243(3)
Creating an array
246(3)
Processing data in an array
249(3)
Build a user interface
252(13)
Arrays as lookup tables
265(3)
Creating fixed with layouts
268(3)
What you have learned
271(3)
9 Objects
274(48)
Make a tiny contacts app
276(19)
Prototype HTML
277(1)
Prototype style sheet
278(1)
Prototype JavaScript
279(2)
Storing contact details
281(2)
Finding contacts
283(2)
Displaying contacts
285(1)
Saving a contact
285(2)
Finding a contact
287(1)
Use an object to store contact details
288(3)
Use an object in the Tiny Contacts program
291(1)
Store data in JavaScript local storage
292(3)
Use JSON to encode object data
295(5)
Use property accessors
300(4)
Use a data schema
304(5)
Build HTML from a schema
305(3)
Build a data object from a schema
308(1)
Improving the user interface
309(7)
Add "Super Search" to Tiny Contacts
310(6)
What you have learned
316(6)
Part 3 Useful JavaScript
10 Advanced JavaScript
322(44)
Manage errors with exceptions
324(11)
Catching exceptions
327(8)
Class design
335(28)
Fashion Shop application
335(6)
Object-oriented design
341(6)
Store data in a class hierarchy
347(1)
Add a method to give an object a behavior
348(2)
Overriding methods in subclasses
350(2)
Static class members
352(3)
Data storage
355(2)
Build a user interface
357(5)
Exploring the Fashion Shop application
362(1)
What you have learned
363(3)
11 Creating applications
366(42)
Data analysis
368(11)
Fashion Shop stock list
368(2)
Fashion Shop data analysis
370(1)
Work with array methods
371(8)
Read the weather
379(8)
Fetch data from a server
380(7)
Node.js
387(14)
Create a web server with Node.js
389(12)
Node package manager
401(1)
Deploying a Node.js server
401(1)
What you have learned
401(7)
12 Creating games
408(62)
Use the HTML Canvas
410(17)
Canvas coordinates
413(1)
Computer art
414(5)
Draw images on a canvas
419(8)
Animate images
427(2)
Control gameplay
429(7)
Window events
429(2)
Control object position with a keyboard
431(2)
Use keydown and keyup events
433(3)
Create game objects
436(24)
Game sprites
436(3)
The game object
439(2)
Starting the game
441(2)
Add a cheese sprite
443(4)
Add a Cracker sprite
447(2)
Add lots of crackers
449(1)
Catch the crackers
450(2)
Add sound
452(1)
Adding scores
453(3)
Adda killer tomato
456(3)
Create timed sprites
459(1)
Complete the game
460(6)
Add a start screen
461(2)
Start the game running
463(3)
What you have learned
466(4)
Index 470
Rob Miles spent more than 30 years teaching programming at the University of Hull in the United Kingdom. He now runs a company promoting community uptake of computer technology. Hes a Microsoft MVP with a passion for programming and creating new things. If he had any spare time, hed spend it writing even more code. He loves building devices and then switching them on to see what they do. He reckons that programming is the most creative thing you can learn how to do. He claims to know a lot of really good jokes, but nobody has ever heard him tell one. If you want an insight into the Wacky WorldTM of Rob Miles, you can read his blog at www.robmiles. com and follow him on Twitter via @RobMiles.