100% found this document useful (7 votes)
50 views

Full Download JavaScript A Beginner's Guide Fifth Edition John Pollock PDF DOCX

The document provides links to various eBooks available for download, including titles on JavaScript, ECG cases, and nursing. It includes information about the authors and technical editors, as well as copyright and usage terms for the eBooks. Additionally, it outlines the contents of 'JavaScript: A Beginner's Guide, Fifth Edition' by John Pollock, detailing the chapters and topics covered in the book.

Uploaded by

ruraksofia5h
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (7 votes)
50 views

Full Download JavaScript A Beginner's Guide Fifth Edition John Pollock PDF DOCX

The document provides links to various eBooks available for download, including titles on JavaScript, ECG cases, and nursing. It includes information about the authors and technical editors, as well as copyright and usage terms for the eBooks. Additionally, it outlines the contents of 'JavaScript: A Beginner's Guide, Fifth Edition' by John Pollock, detailing the chapters and topics covered in the book.

Uploaded by

ruraksofia5h
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 41

Download the Full Ebook and Access More Features - ebookmass.

com

JavaScript A Beginner's Guide Fifth Edition John


Pollock

https://ebookmass.com/product/javascript-a-beginners-guide-
fifth-edition-john-pollock/

OR CLICK HERE

DOWLOAD NOW

Download more ebook instantly today at https://ebookmass.com


Instant digital products (PDF, ePub, MOBI) ready for you
Download now and discover formats that fit your needs...

JavaScript: A Beginner's Guide, Fifth Edition Pollock

https://ebookmass.com/product/javascript-a-beginners-guide-fifth-
edition-pollock/

ebookmass.com

Javascript: Crash Course - The Complete Beginners Guide To


Learning JavaScript Programming In No Time! (Angularjs,
jQuery, JavaScript Visually) Nathaniel Hill
https://ebookmass.com/product/javascript-crash-course-the-complete-
beginners-guide-to-learning-javascript-programming-in-no-time-
angularjs-jquery-javascript-visually-nathaniel-hill/
ebookmass.com

150 ECG Cases (Fifth Edition) John Hampton

https://ebookmass.com/product/150-ecg-cases-fifth-edition-john-
hampton/

ebookmass.com

Advanced Practice Nursing in the Care of Older Adults 2nd


Edition – Ebook PDF Version

https://ebookmass.com/product/advanced-practice-nursing-in-the-care-
of-older-adults-2nd-edition-ebook-pdf-version/

ebookmass.com
The Social Licence for Financial Markets: Reaching for the
End and Why It Counts 1st ed. Edition David Rouch

https://ebookmass.com/product/the-social-licence-for-financial-
markets-reaching-for-the-end-and-why-it-counts-1st-ed-edition-david-
rouch/
ebookmass.com

Oxford textbook of neuroscience and anaesthesiology First


Edition. Edition Engelhard

https://ebookmass.com/product/oxford-textbook-of-neuroscience-and-
anaesthesiology-first-edition-edition-engelhard/

ebookmass.com

Critical Approaches to Horror Comic Books: Red Ink in the


Gutter John Darowski

https://ebookmass.com/product/critical-approaches-to-horror-comic-
books-red-ink-in-the-gutter-john-darowski/

ebookmass.com

How to Catch a Unicorn Wallace

https://ebookmass.com/product/how-to-catch-a-unicorn-wallace/

ebookmass.com

Brian Eno's Ambient 1: Music for Airports (The Oxford


Keynotes Series) John T. Lysaker

https://ebookmass.com/product/brian-enos-ambient-1-music-for-airports-
the-oxford-keynotes-series-john-t-lysaker/

ebookmass.com
The Time of Your Life Sandra Kitt

https://ebookmass.com/product/the-time-of-your-life-sandra-kitt/

ebookmass.com
Copyright © 2020 by McGraw-Hill Education (Publisher). All rights
reserved. Except as permitted under the United States Copyright Act
of 1976, no part of this publication may be reproduced or distributed
in any form or by any means, or stored in a database or retrieval
system, without the prior written permission of the publisher, with
the exception that the program listings may be entered, stored, and
executed in a computer system, but they may not be reproduced for
publication.

ISBN: 978-1-26-045769-8
MHID: 1-26-045769-9

The material in this eBook also appears in the print version of this
title: ISBN: 978-1-26-045768-1, MHID: 1-26-045768-0.

eBook conversion by codeMantra


Version 1.0

All trademarks are trademarks of their respective owners. Rather


than put a trademark symbol after every occurrence of a
trademarked name, we use names in an editorial fashion only, and
to the benefit of the trademark owner, with no intention of
infringement of the trademark. Where such designations appear in
this book, they have been printed with initial caps.

McGraw-Hill Education eBooks are available at special quantity


discounts to use as premiums and sales promotions or for use in
corporate training programs. To contact a representative, please visit
the Contact Us page at www.mhprofessional.com.

Oracle and Java are registered trademarks of Oracle Corporation


and/or its affiliates. All other trademarks are the property of their
respective owners, and McGraw-Hill Education makes no claim of
ownership by the mention of products that contain these marks.
Screen displays of copyrighted Oracle software programs have been
reproduced herein with the permission of Oracle Corporation and/or
its affiliates.

Information has been obtained by Publisher from sources believed to


be reliable. However, because of the possibility of human or
mechanical error by our sources, Publisher, or others, Publisher does
not guarantee to the accuracy, adequacy, or completeness of any
information included in this work and is not responsible for any
errors or omissions or the results obtained from the use of such
information.

TERMS OF USE

This is a copyrighted work and McGraw-Hill Education and its


licensors reserve all rights in and to the work. Use of this work is
subject to these terms. Except as permitted under the Copyright Act
of 1976 and the right to store and retrieve one copy of the work,
you may not decompile, disassemble, reverse engineer, reproduce,
modify, create derivative works based upon, transmit, distribute,
disseminate, sell, publish or sublicense the work or any part of it
without McGraw-Hill Education’s prior consent. You may use the
work for your own noncommercial and personal use; any other use
of the work is strictly prohibited. Your right to use the work may be
terminated if you fail to comply with these terms.

THE WORK IS PROVIDED “AS IS.” McGRAW-HILL EDUCATION AND


ITS LICENSORS MAKE NO GUARANTEES OR WARRANTIES AS TO
THE ACCURACY, ADEQUACY OR COMPLETENESS OF OR RESULTS
TO BE OBTAINED FROM USING THE WORK, INCLUDING ANY
INFORMATION THAT CAN BE ACCESSED THROUGH THE WORK VIA
HYPERLINK OR OTHERWISE, AND EXPRESSLY DISCLAIM ANY
WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR
A PARTICULAR PURPOSE. McGraw-Hill Education and its licensors do
not warrant or guarantee that the functions contained in the work
will meet your requirements or that its operation will be
uninterrupted or error free. Neither McGraw-Hill Education nor its
licensors shall be liable to you or anyone else for any inaccuracy,
error or omission, regardless of cause, in the work or for any
damages resulting therefrom. McGraw-Hill Education has no
responsibility for the content of any information accessed through
the work. Under no circumstances shall McGraw-Hill Education
and/or its licensors be liable for any indirect, incidental, special,
punitive, consequential or similar damages that result from the use
of or inability to use the work, even if any of them has been advised
of the possibility of such damages. This limitation of liability shall
apply to any claim or cause whatsoever whether such claim or cause
arises in contract, tort or otherwise.
To my wife, Heather, and children, Eva, Elizabeth,
Elaine, and Evan, Bruce and Joy Anderson, and Dr. J.
D. and Linda Andrews

In memory of John and Betty Hopkins, James D. and


Livian Anderson, John William and Edith Hopkins,
Burley T. and Aline Price, “Doc” Flores, and Clifton
Idom
About the Author
John Pollock is employed as a software developer during the day
and works on Web sites and other projects during the evening. You
can find him on Twitter (@ScripttheWeb) or LinkedIn
(https://www.linkedin.com/in/john-pollock-82a2b074). John holds a
Bachelor of Arts in English from Sam Houston State University and
currently lives in New Waverly, Texas with his wife, Heather, and
children, Eva, Elizabeth, Elaine, and Evan.

About the Technical Editor


Christie Sorenson is a senior software engineer at ZingChart. She
has worked on JavaScript-based systems since 1997 and has been
fascinated with the evolution of the language. She has collaborated
and been the technical editor on several JavaScript and HTML books.
She holds a Bachelor of Science in Computer Science from University
of California, San Diego, and now lives in San Francisco with her
husband, Luke, and daughters, Ali and Keira.
Contents
ACKNOWLEDGMENTS
INTRODUCTION

1 Introduction to JavaScript
What You Need to Know
Basic HTML and CSS Knowledge
Basic Text Editor and Web Browser Knowledge
Which Version?
Client-Side and Server-Side Programming
Beginning with JavaScript
Prototype-Based
Interpreted Language
Numerous Environments
Putting It All Together
Online Resources
Try This 1-1: Use JavaScript to Write Text
Chapter 1 Self Test

2 Placing JavaScript in an HTML File


Using the HTML Script Tags
Identifying the Scripting Language
Calling External Scripts
Specifying when the Script Should Load
Using <noscript></noscript> Tags
Creating Your First Script
Writing a “Hello World” Script
Creating an HTML Document for the Script
Inserting the Script into the HTML Document
Try This 2-1: Insert a Script into an HTML Document
Using External JavaScript Files
Creating a JavaScript File
Creating the HTML Files
Viewing the Pages in Your Browser
Try This 2-2: Call an External Script from an HTML Document
Using JavaScript Comments
Inserting Comments on One Line
Adding Multiple-Line Comments
Chapter 2 Self Test

3 Using Variables
Understanding Variables
Why Variables Are Useful
Variables as Placeholders for Unknown Values
Variables as Time-Savers
Variables as Code Clarifiers
Defining Variables for Your Scripts
Declaring Variables
Assigning Values to Variables
Naming Variables
Understanding Data Types
Number
String
Boolean
Null
Undefined
Symbol
Object
Try This 3-1: Declare Variables
Using Variables in Scripts
Making a Call to a Variable
Adding Variables to Text Strings
Writing a Page of JavaScript
Creating the Framework
Defining the Variables
Adding the Commands
Modifying the Page
Try This 3-2: Create an HTML Page with JavaScript
Chapter 3 Self Test

4 Using Functions
What a Function Is
Why Functions Are Useful
Structuring Functions
Declaring Functions
Defining the Code for Functions
Naming Functions
Adding Arguments to Functions
Adding Return Statements to Functions
Calling Functions in Your Scripts
Script Tags: Head Section or Body Section
Calling a Function from Another Function
Calling Functions with Arguments
Calling Functions with Return Statements
Other Ways to Define Functions
Try This 4-1: Create an HTML Page with Functions
Scope/Context Basics
Global Context
Function Context
Block Context
Try This 4-2: Write Your Own Functions
Chapter 4 Self Test

5 JavaScript Operators
Understanding the Operator Types
Understanding Arithmetic Operators
The Addition Operator (+)
The Subtraction Operator (–)
The Multiplication Operator (*)
The Division Operator (/)
The Modulus Operator (%)
The Increment Operator (++)
The Decrement Operator (– –)
The Unary Plus Operator (+)
The Unary Negation Operator (–)
The Exponentiation Operator
Understanding Assignment Operators
The Assignment Operator (=)
The Add-and-Assign Operator (+=)
The Subtract-and-Assign Operator (–=)
The Multiply-and-Assign Operator (*=)
The Divide-and-Assign Operator (/=)
The Modulus-and-Assign Operator (%=)
The Exponent-and-Assign Operator (**=)
Try This 5-1: Adjust a Variable Value
Understanding Comparison Operators
The Is-Equal-To Operator (==)
The Is-Not-Equal-To Operator (!=)
The Strict Is-Equal-To Operator (===)
The Strict Is-Not-Equal-To Operator (!==)
The Is-Greater-Than Operator (>)
The Is-Less-Than Operator (<)
The Is-Greater-Than-or-Equal-To Operator (>=)
The Is-Less-Than-or-Equal-To Operator (<=)
Understanding Logical Operators
The AND Operator (&&)
The OR Operator (||)
The NOT Operator (!)
The Bitwise Operators
Special Operators
Understanding Order of Operations
Try This 5-2: True or False?
Chapter 5 Self Test

6 Conditional Statements and Loops


Defining Conditional Statements
What Is a Conditional Statement?
Why Conditional Statements Are Useful
Using Conditional Statements
Using if/else Statements
Using the switch Statement
Using the Conditional Operator
User Input from a Prompt
Try This 6-1: Work with User Input
Defining Loops
What Is a Loop?
Why Loops Are Useful
Using Loops
for
while
do while
for in, for each in, and for of
Using break and continue
Try This 6-2: Work with for Loops and while Loops
Chapter 6 Self Test

7 JavaScript Arrays
What Is an Array?
Why Arrays Are Useful
Defining and Accessing Arrays
Naming an Array
Defining an Array
Accessing an Array’s Elements
Using the length Property and Loops
Changing Array Values and Changing the Length
Try This 7-1: Use Loops with Arrays
Array Properties and Methods
Properties
Methods
Nesting Arrays
Defining Nested Arrays
Loops and Nested Arrays
Try This 7-2: Nested Arrays Practice
Chapter 7 Self Test

8 Objects
Defining Objects
Creating Objects
Naming
Single Objects
Try This 8-1: Create a Computer Object
Object Structures
Constructor Functions
Using Prototypes
The class Keyword
Helpful Statements for Objects
The for-in Loop
The with Statement
Try This 8-2: Practice with the Combination
Constructor/Prototype Pattern
Understanding Predefined JavaScript Objects
The Navigator Object
The History Object
Chapter 8 Self Test
9 The Document Object
Defining the Document Object
Using the Document Object Model
Using the Properties of the Document Object
Collections
The cookie Property
The dir Property
The lastModified Property
The referrer Property
The title Property
The URL Property
The URLUnencoded Property
Using the Methods of the Document Object
The get Methods for Elements
The open() and close() Methods
The write() and writeln() Methods
Using DOM Nodes
DOM Node Properties
DOM Node Methods
Try This 9-1: Add a DOM Node to the Document
Creating Dynamic Scripts
Styles in JavaScript
Simple Event Handling
Coding a Dynamic Script
Try This 9-2: Try Out Property Changes
Chapter 9 Self Test

10 Event Handlers
What Is an Event Handler?
Why Event Handlers Are Useful
Understanding Event Handler Locations and Uses
Using an Event Handler in an HTML Element
Using an Event Handler in the Script Code
Learning the Events
The Click Event
Focus and Blur Events
The Load and Unload Events
The Reset and Submit Events
The Mouse Events
The Keyboard Events
Try This 10-1: Focus and Blur
Other Ways to Register Events
The addEventListener() Method
The attachEvent() Method
The Event Object
DOM and Internet Explorer: DOM Level 0 Registration
Using event with Modern Event Registration
Properties and Methods
Event Information
Try This 10-2: Using addEventListener()
Creating Scripts Using Event Handlers
Show Hidden Content
Change Content
Custom Events
Chapter 10 Self Test

11 Introduction to Node.js
Introducing Node.js
Installing Node.js
Check for a Current Installation
Install Node.js
Write a “Hello World” Script
Using Node Modules
Using Native Node Modules
Asynchronous Execution
Non-Native Modules
Another Random Document on
Scribd Without Any Related Topics
CHAPTER IX
“O CAPTAIN! MY CAPTAIN!”

NoPresident.
one had suffered more deeply during the war than the
His purpose never faltered. Even at the moment when
success seemed farthest distant, his resolve stood firm; cost what it
might the Union must be preserved. When almost every other man
despaired of the Northern cause, Lincoln’s invincible faith in the right
and justice of their purpose sustained his country.
To attain that purpose thousands of lives had to be sacrificed; but
the purpose was worth the loss of thousands of lives. Yet Lincoln’s
heart bled for every one of them.
Lincoln visited all the divisions of his army in turn

All day long he received visits from distracted relations, mothers


and wives asking him to pardon their sons or husbands in prison as
deserters or captured from the enemy; asking for tidings of their
beloved ones at the front. His generals complained that he
undermined the discipline of the army by pardoning what he called
his “leg” cases—cases where men had run away before the enemy.
“If Almighty God gives a man a cowardly pair of legs, how can he
help their running away with him?” said Lincoln.
The story of William Scott is a case which shows the way in
which Lincoln used to act. William Scott was a young boy from a
Northern farm, who, after marching for forty-eight hours without
sleep, offered to stand on guard duty for a sick comrade. Worn out,
he fell asleep, and was condemned to be shot for being asleep on
duty in face of the enemy. Lincoln made it his custom to visit all the
divisions of his army in turns, and, as it happened, two days before
the execution he was with the division in which Willie Scott was, and
heard of the case. He went to see the boy, and talked to him about
his home and his mother. As he was leaving the prison tent he put
his hands on the lad’s shoulders, and said—
“My boy, you are not going to be shot to-morrow.... I am going to
trust you and send you back to your regiment. But I have been put to
a great deal of trouble on your account. I have come here from
Washington, where I had a great deal to do. Now, what I want to
know is, how are you going to pay my bill?”
Willie did not know what to say: perhaps he could get his friends
to help him, he said at last.
“No,” said Lincoln, “friends cannot pay it; only one man in the
world can pay it, and that is William Scott. If from this day on William
Scott does his duty, my bill is paid.”
William Scott never forgot these words. Just before his death in
one of the later battles of the war, he asked his comrades to tell
President Lincoln that he had never forgotten what he had said.
All the time, people who did not know the President threw on his
shoulders all the blame for the long continuance of the war. Until the
last year of the war, the newspapers abused him continually. The
horrible loss of life in Grant’s last campaign was laid to his charge.
Only those who came to the President to ask his help in their own
suffering, understood what his suffering was; he suffered with each
of them—he suffered with the South as well as the North. After
Antietam, he had said, “I shall not live to see the end; this war is
killing me.” The crushing burden he had borne so long and patiently
had bent even his strong shoulders.
But it had not been borne in vain. The time seemed at last to
have come when all America would understand how much they
owed to the patient endurance of the President. And there was work
still to be done which needed all his wisdom. The South was
conquered. It had to be made one with the North. The pride of the
conquerors had to be curbed, the bitterness of the conquered
softened.
Lincoln returned from Richmond to Washington, in his heart the
profound resolve “to bind up the nation’s wounds” as he, and only
he, could do it.
April 14 was Good Friday, and a day of deep thankfulness in the
North. In the morning Lincoln held a Cabinet meeting, at which
General Grant was present. The question of reconstruction, of
making one whole out of the divided halves, was discussed. Some of
the Cabinet were anxious to wreak vengeance on the South, to
execute the leaders of the rebellion. Such was not Lincoln’s view.
“Enough lives have been sacrificed. We must extinguish our
resentments if we expect harmony and union.”
His noble patriotism could still say to the South, “We are not
enemies, but friends.” His life was now even more precious to the
South than to the North.
After the Cabinet meeting, Lincoln spent some time in talking with
his son Robert, who had returned from the field with General Grant,
under whom he had served as a captain. In the afternoon he went
for a drive with Mrs. Lincoln. His mood was calm and happy: for the
first time for four years he could look forward peacefully to the future,
and to the great tasks still before him.
In the evening he went to the theatre with his wife and two young
friends: the play was “Our American Cousin.” The President was
fond of the theatre—it was one of his few recreations: his
appearance on this night was something of a public ceremony;
therefore, although he was tired when evening came, he went
because he knew that many people would be disappointed if he did
not. The President had a box to the left of the stage. Suddenly, about
the middle of the last act, a man appeared at the back of the box, a
knife in one hand and a pistol in the other, put the pistol to the
President’s head and fired; then wounding Major Rathbone, the only
other man in the box, with his knife, he vaulted on to the stage. As
he leapt his spur caught the flag hanging from the box and he fell,
breaking his leg. Nevertheless he rose instantly, and brandishing his
knife and crying, “Sic semper tyrannis!”—“The South is avenged!”
fled across the stage and out of sight.
The horrified audience was thunderstruck. The President lay
quite still: the bullet had passed right through his head. The wound
was mortal. He was carried to a house across the street, where he
lay, quite unconscious, till the morning, surrounded by his friends,
their faces as pale and haggard as his own. About seven, “a look of
unspeakable peace came upon his worn features.” Stanton, the War
Secretary, rose from his knees by his side, saying, “Now he belongs
to the ages.”
There was profound sorrow through the whole of America; sorrow
that checked all rejoicings over the victory of the North. Thus,
indirectly, Lincoln’s death helped the reconciliation between North
and South, though nothing could counterbalance the loss of his wise
guidance.
Washington was shrouded in black: even the poorest inhabitants
showing their sorrow in their dress. The body was taken to
Springfield, Illinois, to be buried; and all the towns on the way
showed their deep mourning and respect. Now, and not till now, did
Americans begin to understand what a man they had lost.

“He knew to bide his time,


And can his fame abide,
Still patient in his simple faith sublime
Till the wise years decide.
Great captains with their guns and drums
Disturb our judgment for the hour,
But at last silence comes:
These all are gone, and, standing like a tower,
Our children shall behold his fame,
The kindly, earnest, brave, far-seeing man,
Sagacious, patient, dreading praise, not blame,
New birth of our new soil, the first American.”

So James Russell Lowell wrote of Lincoln when the celebration of


Independence Day in the year of his death revived the vivid sense of
loss.
The passage of years have only made clearer how great he was.
Perfectly simple, perfectly sincere, he thought out for himself an
ideal, and spent the whole of his life and all his strength in pursuing
it.
He loved America, not because it was powerful and strong, but
because it had been based on a great idea—the idea of liberty: his
work for America was to realise that idea. He never thought of his
own personal success: he wanted to be President because he saw a
great work to be done and believed that he could do it. He never
became rich: his own tastes remained entirely simple. He was said
to have worn the same top-hat all his life.
The first thing that struck any one about Lincoln was his
extraordinary appearance. He always dressed in black, with a big
black tie, very often untied, or in the wrong place: his clothes looked
as if they had been made to fit some one else, and had never been
new. His feet were enormous; so were his hands, covered on state
occasions with white kid gloves.
In cold weather he used to wear a large grey shawl instead of an
overcoat. One day, before he was made President, some friends
were discussing Lincoln and Douglas, and comparing their heights.
When Lincoln came into the room some one asked him, “How long
ought a man’s legs to be?”
“Long enough to reach from his body to the ground,” said Lincoln
coolly.
Lincoln might look uncouth or even grotesque, but he did not look
weak: he was the most striking figure wherever he went. No one who
saw him often, no one who went to him in trouble, or to ask his
advice, thought long of his appearance. Those who had once felt the
sympathy of his wonderful, sad eyes, thought of that only. Those
who really knew him, knew him to be the best man they had ever
met.
Lincoln was often profoundly sad, and then suddenly boisterously
gay. He enjoyed a joke or a funny story immensely: he often used to
shock thoughtless people by telling some comic story on what they
thought an unsuitable occasion; but he told it so well that however
much they might disapprove they were generally forced to laugh.
Always rather a dreamer, he was fond of poetry. He knew long
passages of Shakespeare by heart, especially Hamlet, Macbeth, and
Richard III. The Bible he had known from his childhood; of Burns he
was very fond.
Lincoln’s rise to power, as even so short an account as this will
have shown you, was not due to any extraordinary good fortune or
any advantages at start. He taught himself all that he knew; he made
himself what he was.
It was his character more than anything else that made him great.
His early struggles had taught him that self-reliance which enabled
him to persevere in a course which he thought right in spite of
opposition, disloyalty, and abuse; they taught him the toleration
which made him slow to judge others, generous to praise them, little
apt to expect them to understand or praise him. He stood alone.
Not till he had gone did his people realise how much he had
given them; how much they had lost in him. He gave them, indeed,
the most priceless gift a patriot can give his country—the example of
sincere, devoted, and unselfish service.
THE END
Printed by Ballantyne, Hanson & Co.
Edinburgh & London
Transcriber’s Notes:
Illustrations occurring in the middle of a
paragraph have been moved to avoid
interrupting the paragraph flow.
On page 65, “yes,” has been changed to ‘yes,’
to conform to standard usage.
All other variant spellings, punctuation and
hyphenation have been left as typeset.
*** END OF THE PROJECT GUTENBERG EBOOK THE STORY OF
ABRAHAM LINCOLN ***

Updated editions will replace the previous one—the old editions


will be renamed.

Creating the works from print editions not protected by U.S.


copyright law means that no one owns a United States copyright
in these works, so the Foundation (and you!) can copy and
distribute it in the United States without permission and without
paying copyright royalties. Special rules, set forth in the General
Terms of Use part of this license, apply to copying and
distributing Project Gutenberg™ electronic works to protect the
PROJECT GUTENBERG™ concept and trademark. Project
Gutenberg is a registered trademark, and may not be used if
you charge for an eBook, except by following the terms of the
trademark license, including paying royalties for use of the
Project Gutenberg trademark. If you do not charge anything for
copies of this eBook, complying with the trademark license is
very easy. You may use this eBook for nearly any purpose such
as creation of derivative works, reports, performances and
research. Project Gutenberg eBooks may be modified and
printed and given away—you may do practically ANYTHING in
the United States with eBooks not protected by U.S. copyright
law. Redistribution is subject to the trademark license, especially
commercial redistribution.

START: FULL LICENSE


THE FULL PROJECT GUTENBERG LICENSE
PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK

To protect the Project Gutenberg™ mission of promoting the


free distribution of electronic works, by using or distributing this
work (or any other work associated in any way with the phrase
“Project Gutenberg”), you agree to comply with all the terms of
the Full Project Gutenberg™ License available with this file or
online at www.gutenberg.org/license.

Section 1. General Terms of Use and


Redistributing Project Gutenberg™
electronic works

1.A. By reading or using any part of this Project Gutenberg™


electronic work, you indicate that you have read, understand,
agree to and accept all the terms of this license and intellectual
property (trademark/copyright) agreement. If you do not agree to
abide by all the terms of this agreement, you must cease using
and return or destroy all copies of Project Gutenberg™
electronic works in your possession. If you paid a fee for
obtaining a copy of or access to a Project Gutenberg™
electronic work and you do not agree to be bound by the terms
of this agreement, you may obtain a refund from the person or
entity to whom you paid the fee as set forth in paragraph 1.E.8.

1.B. “Project Gutenberg” is a registered trademark. It may only


be used on or associated in any way with an electronic work by
people who agree to be bound by the terms of this agreement.
There are a few things that you can do with most Project
Gutenberg™ electronic works even without complying with the
full terms of this agreement. See paragraph 1.C below. There
are a lot of things you can do with Project Gutenberg™
electronic works if you follow the terms of this agreement and
help preserve free future access to Project Gutenberg™
electronic works. See paragraph 1.E below.
1.C. The Project Gutenberg Literary Archive Foundation (“the
Foundation” or PGLAF), owns a compilation copyright in the
collection of Project Gutenberg™ electronic works. Nearly all the
individual works in the collection are in the public domain in the
United States. If an individual work is unprotected by copyright
law in the United States and you are located in the United
States, we do not claim a right to prevent you from copying,
distributing, performing, displaying or creating derivative works
based on the work as long as all references to Project
Gutenberg are removed. Of course, we hope that you will
support the Project Gutenberg™ mission of promoting free
access to electronic works by freely sharing Project
Gutenberg™ works in compliance with the terms of this
agreement for keeping the Project Gutenberg™ name
associated with the work. You can easily comply with the terms
of this agreement by keeping this work in the same format with
its attached full Project Gutenberg™ License when you share it
without charge with others.

1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside
the United States, check the laws of your country in addition to
the terms of this agreement before downloading, copying,
displaying, performing, distributing or creating derivative works
based on this work or any other Project Gutenberg™ work. The
Foundation makes no representations concerning the copyright
status of any work in any country other than the United States.

1.E. Unless you have removed all references to Project


Gutenberg:

1.E.1. The following sentence, with active links to, or other


immediate access to, the full Project Gutenberg™ License must
appear prominently whenever any copy of a Project
Gutenberg™ work (any work on which the phrase “Project
Gutenberg” appears, or with which the phrase “Project
Gutenberg” is associated) is accessed, displayed, performed,
viewed, copied or distributed:

This eBook is for the use of anyone anywhere in the United


States and most other parts of the world at no cost and with
almost no restrictions whatsoever. You may copy it, give it
away or re-use it under the terms of the Project Gutenberg
License included with this eBook or online at
www.gutenberg.org. If you are not located in the United
States, you will have to check the laws of the country where
you are located before using this eBook.

1.E.2. If an individual Project Gutenberg™ electronic work is


derived from texts not protected by U.S. copyright law (does not
contain a notice indicating that it is posted with permission of the
copyright holder), the work can be copied and distributed to
anyone in the United States without paying any fees or charges.
If you are redistributing or providing access to a work with the
phrase “Project Gutenberg” associated with or appearing on the
work, you must comply either with the requirements of
paragraphs 1.E.1 through 1.E.7 or obtain permission for the use
of the work and the Project Gutenberg™ trademark as set forth
in paragraphs 1.E.8 or 1.E.9.

1.E.3. If an individual Project Gutenberg™ electronic work is


posted with the permission of the copyright holder, your use and
distribution must comply with both paragraphs 1.E.1 through
1.E.7 and any additional terms imposed by the copyright holder.
Additional terms will be linked to the Project Gutenberg™
License for all works posted with the permission of the copyright
holder found at the beginning of this work.

1.E.4. Do not unlink or detach or remove the full Project


Gutenberg™ License terms from this work, or any files
containing a part of this work or any other work associated with
Project Gutenberg™.

1.E.5. Do not copy, display, perform, distribute or redistribute


this electronic work, or any part of this electronic work, without
prominently displaying the sentence set forth in paragraph 1.E.1
with active links or immediate access to the full terms of the
Project Gutenberg™ License.

1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if
you provide access to or distribute copies of a Project
Gutenberg™ work in a format other than “Plain Vanilla ASCII” or
other format used in the official version posted on the official
Project Gutenberg™ website (www.gutenberg.org), you must, at
no additional cost, fee or expense to the user, provide a copy, a
means of exporting a copy, or a means of obtaining a copy upon
request, of the work in its original “Plain Vanilla ASCII” or other
form. Any alternate format must include the full Project
Gutenberg™ License as specified in paragraph 1.E.1.

1.E.7. Do not charge a fee for access to, viewing, displaying,


performing, copying or distributing any Project Gutenberg™
works unless you comply with paragraph 1.E.8 or 1.E.9.

1.E.8. You may charge a reasonable fee for copies of or


providing access to or distributing Project Gutenberg™
electronic works provided that:

• You pay a royalty fee of 20% of the gross profits you derive from
the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”

• You provide a full refund of any money paid by a user who


notifies you in writing (or by e-mail) within 30 days of receipt that
s/he does not agree to the terms of the full Project Gutenberg™
License. You must require such a user to return or destroy all
copies of the works possessed in a physical medium and
discontinue all use of and all access to other copies of Project
Gutenberg™ works.

• You provide, in accordance with paragraph 1.F.3, a full refund of


any money paid for a work or a replacement copy, if a defect in
the electronic work is discovered and reported to you within 90
days of receipt of the work.

• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.

1.E.9. If you wish to charge a fee or distribute a Project


Gutenberg™ electronic work or group of works on different
terms than are set forth in this agreement, you must obtain
permission in writing from the Project Gutenberg Literary
Archive Foundation, the manager of the Project Gutenberg™
trademark. Contact the Foundation as set forth in Section 3
below.

1.F.

1.F.1. Project Gutenberg volunteers and employees expend


considerable effort to identify, do copyright research on,
transcribe and proofread works not protected by U.S. copyright
law in creating the Project Gutenberg™ collection. Despite
these efforts, Project Gutenberg™ electronic works, and the
medium on which they may be stored, may contain “Defects,”
such as, but not limited to, incomplete, inaccurate or corrupt
data, transcription errors, a copyright or other intellectual
property infringement, a defective or damaged disk or other
medium, a computer virus, or computer codes that damage or
cannot be read by your equipment.

1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES -


Except for the “Right of Replacement or Refund” described in
paragraph 1.F.3, the Project Gutenberg Literary Archive
Foundation, the owner of the Project Gutenberg™ trademark,
and any other party distributing a Project Gutenberg™ electronic
work under this agreement, disclaim all liability to you for
damages, costs and expenses, including legal fees. YOU
AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE,
STRICT LIABILITY, BREACH OF WARRANTY OR BREACH
OF CONTRACT EXCEPT THOSE PROVIDED IN PARAGRAPH
1.F.3. YOU AGREE THAT THE FOUNDATION, THE
TRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER
THIS AGREEMENT WILL NOT BE LIABLE TO YOU FOR
ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE
OR INCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF
THE POSSIBILITY OF SUCH DAMAGE.

1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If


you discover a defect in this electronic work within 90 days of
receiving it, you can receive a refund of the money (if any) you
paid for it by sending a written explanation to the person you
received the work from. If you received the work on a physical
medium, you must return the medium with your written
explanation. The person or entity that provided you with the
defective work may elect to provide a replacement copy in lieu
of a refund. If you received the work electronically, the person or
entity providing it to you may choose to give you a second
opportunity to receive the work electronically in lieu of a refund.
If the second copy is also defective, you may demand a refund
in writing without further opportunities to fix the problem.

1.F.4. Except for the limited right of replacement or refund set


forth in paragraph 1.F.3, this work is provided to you ‘AS-IS’,
WITH NO OTHER WARRANTIES OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR
ANY PURPOSE.

1.F.5. Some states do not allow disclaimers of certain implied


warranties or the exclusion or limitation of certain types of
damages. If any disclaimer or limitation set forth in this
agreement violates the law of the state applicable to this
agreement, the agreement shall be interpreted to make the
maximum disclaimer or limitation permitted by the applicable
state law. The invalidity or unenforceability of any provision of
this agreement shall not void the remaining provisions.

1.F.6. INDEMNITY - You agree to indemnify and hold the


Foundation, the trademark owner, any agent or employee of the
Foundation, anyone providing copies of Project Gutenberg™
electronic works in accordance with this agreement, and any
volunteers associated with the production, promotion and
distribution of Project Gutenberg™ electronic works, harmless
from all liability, costs and expenses, including legal fees, that
arise directly or indirectly from any of the following which you do
or cause to occur: (a) distribution of this or any Project
Gutenberg™ work, (b) alteration, modification, or additions or
deletions to any Project Gutenberg™ work, and (c) any Defect
you cause.

Section 2. Information about the Mission of


Project Gutenberg™
Project Gutenberg™ is synonymous with the free distribution of
electronic works in formats readable by the widest variety of
computers including obsolete, old, middle-aged and new
computers. It exists because of the efforts of hundreds of
volunteers and donations from people in all walks of life.

Volunteers and financial support to provide volunteers with the


assistance they need are critical to reaching Project
Gutenberg™’s goals and ensuring that the Project Gutenberg™
collection will remain freely available for generations to come. In
2001, the Project Gutenberg Literary Archive Foundation was
created to provide a secure and permanent future for Project
Gutenberg™ and future generations. To learn more about the
Project Gutenberg Literary Archive Foundation and how your
efforts and donations can help, see Sections 3 and 4 and the
Foundation information page at www.gutenberg.org.

Section 3. Information about the Project


Gutenberg Literary Archive Foundation

The Project Gutenberg Literary Archive Foundation is a non-


profit 501(c)(3) educational corporation organized under the
laws of the state of Mississippi and granted tax exempt status by
the Internal Revenue Service. The Foundation’s EIN or federal
tax identification number is 64-6221541. Contributions to the
Project Gutenberg Literary Archive Foundation are tax
deductible to the full extent permitted by U.S. federal laws and
your state’s laws.

The Foundation’s business office is located at 809 North 1500


West, Salt Lake City, UT 84116, (801) 596-1887. Email contact
links and up to date contact information can be found at the
Foundation’s website and official page at
www.gutenberg.org/contact
Section 4. Information about Donations to
the Project Gutenberg Literary Archive
Foundation

Project Gutenberg™ depends upon and cannot survive without


widespread public support and donations to carry out its mission
of increasing the number of public domain and licensed works
that can be freely distributed in machine-readable form
accessible by the widest array of equipment including outdated
equipment. Many small donations ($1 to $5,000) are particularly
important to maintaining tax exempt status with the IRS.

The Foundation is committed to complying with the laws


regulating charities and charitable donations in all 50 states of
the United States. Compliance requirements are not uniform
and it takes a considerable effort, much paperwork and many
fees to meet and keep up with these requirements. We do not
solicit donations in locations where we have not received written
confirmation of compliance. To SEND DONATIONS or
determine the status of compliance for any particular state visit
www.gutenberg.org/donate.

While we cannot and do not solicit contributions from states


where we have not met the solicitation requirements, we know
of no prohibition against accepting unsolicited donations from
donors in such states who approach us with offers to donate.

International donations are gratefully accepted, but we cannot


make any statements concerning tax treatment of donations
received from outside the United States. U.S. laws alone swamp
our small staff.

Please check the Project Gutenberg web pages for current


donation methods and addresses. Donations are accepted in a
number of other ways including checks, online payments and
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookmass.com

You might also like