
Beginning JavaScript
by Paul Wilton
Get this book
Moods
About this book
JavaScript is a scripting language that enables you to enhance static web applications by providing dynamic, personalized, and interactive content. This improves the experience of visitors to your site and makes it more likely that they will visit again. You must have seen the flashy drop-down menus, moving text, and changing content that are now widespread on web sites--they are enabled through JavaScript. Supported by all the major browsers, JavaScript is the language of choice on the Web. It can even be used outside web applications--to automate administrative tasks, for example. This book aims to teach you all you need to know to start experimenting with JavaScript: what it is, how it works, and what you can do with it. Starting from the basic syntax, you'll move on to learn how to create powerful web applications. Don't worry if you've never programmed before--this book will teach you all you need to know, step by step. You'll find that JavaScript can be a great introduction to the world of programming: with the knowledge and understanding that you'll gain from this book, you'll be able to move on to learn newer and more advanced technologies in the world of computing. In order to get the most out of this book, you'll need to have an understanding of HTML and how to create a static web page. You don't need to have any programming experience. This book will also suit you if you have some programming experience already, and would like to turn your hand to web programming. You will know a fair amount about computing concepts, but maybe not as much about web technologies. Alternatively, you may have a design background and know relatively little about the Web and computing concepts. For you, JavaScript will be a cheap and relatively easy introduction to the world of programming and web application development. Whoever you are, we hope that this book lives up to your expectations. You'll begin by looking at exactly what JavaScript is, and taking your first steps with the underlying language and syntax. You'll learn all the fundamental programming concepts, including data and data types, and structuring your code to make decisions in your programs or to loop over the same piece of code many times. Once you're comfortable with the basics, you'll move on to one of the key ideas in JavaScript--the object. You'll learn how to take advantage of the objects that are native to the JavaScript language, such as dates and strings, and find out how these objects enable you to manage complex data and simplify your programs. Next, you'll see how you can use JavaScript to manipulate objects made available to you in the browser, such as forms, windows, and other controls. Using this knowledge, you can start to create truly professional-looking applications that enable you to interact with the user. Long pieces of code are very hard to get right every time--even for the experienced programmer--and JavaScript code is no exception. You look at common syntax and logical errors, how you can spot them, and how to use the Microsoft Script Debugger to aid you with this task. Also, you need to examine how to handle the errors that slip through the net, and ensure that these do not detract from the experience of the end user of your application. From here, you'll move on to more advanced topics, such as using cookies and jazzing up your web pages with dynamic HTML and XML. Finally, you'll be looking at a relatively new and exciting technology, remote scripting. This allows your JavaScript in a HTML page to communicate directly with a server, and useful for, say, looking up information on...
Tags
Select a tag to vote for it. Select it again to remove your vote. The number on a tag is how many readers voted for it. Search and Discover show this book under a tag when the tag comes from its published information, or when three readers vote for it. Only readers who have the book on their Currently Reading or Finished shelf count toward those three.
Moods
Vibes
Pace
What do these tags mean?
Moods
- Cozy:
- Low-jeopardy warmth: small stakes, a safe community, danger kept mostly off the page. A village mystery or a small-town romance qualifies; a tense thriller in a charming setting does not.
- Adventurous:
- A journey, quest, voyage or exploration drives the book; physical action and new places are central.
- Emotional:
- Grief, loss or hardship rendered so that moving the reader is the point of the book. Not for a book that merely has feelings in it.
- Dark:
- Bleak, disturbing or morally grim; cruelty, despair or violence are dwelt on, not passed over.
- Hopeful:
- Moves toward light: recovery, resilience, repair, things getting better by the end.
- Romantic:
- A romance between characters is a central thread, whether or not sex appears on the page.
- Funny:
- Written for laughs; comedy, satire or wit is a primary register.
- Spicy:
- Explicit sex is depicted on the page, in detail. Closed-door, fade-to-black or tension without depiction is romantic, not spicy.
Vibes
- Beach Read:
- Light, propulsive holiday reading.
- Page Turner:
- Hard to put down: short chapters, constant hooks.
- Literary:
- Prose style and form are themselves a point of the book.
- Thought-provoking:
- Poses ideas or questions the reader carries away.
- Atmospheric:
- A strong sense of place or mood; the setting is immersive.
- Character-driven:
- Interior lives and relationships propel the story: the book's engine is people.
- Plot-driven:
- Events, twists and momentum propel the story: the book's engine is what happens.
- Slow Burn:
- Tension, romantic or otherwise, builds gradually.
- Epic:
- Sweeping scope: a large cast, high stakes, a saga or several generations.
- Comfort Read:
- A gentle, reassuring, low-stakes reading experience. Cozy is about the story's stakes; comfort-read is about how the book feels to read.
Pace
- Slow:
- Unhurried: the book lingers on description, interior thought or daily detail, and plot events are far apart.
- Medium:
- Neither rushed nor lingering: the story moves steadily, with room for scene-setting and reflection.
- Fast:
- Events come quickly: short scenes, frequent turns, little time spent between them.
Content warnings
- manipulation · moderate
Tags and content warnings come from published information about the book and from readers. They can be wrong or incomplete.
Is a tag or warning wrong?
Report one that does not fit
Pick a tag or a content warning that does not fit this book.
Add a content warning
Pick one this book should have. Yours shows on the book once it is added.





