ebook img

JavaScript: A Beginner's Guide to Learning the Basics of Javascript Programming! PDF

284 Pages·1.166 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview JavaScript: A Beginner's Guide to Learning the Basics of Javascript Programming!

JAVASCRIPT A Beginner’s Guide to Learning the Basics of JavaScript Programming By James Patrick Introduction I want to thank you and congratulate you for downloading the book, “Javascript Programming !” This book contains proven steps and strategies that even beginners can use in order to code from scratch. Even better, intermediate systems and tutorials are included so that those who are already familiar with Javascript can amp up their game and use JavaScript in conjunction with more advanced tools and systems. This book includes a short introduction to the programming language so that you’ll know exactly what to expect. You will then be guided through the basics, including variables, identifiers and statements. You will also get oriented regarding javascript syntax. Several guides and samples are also included so that you’ll see exactly how certain keywords and data will appear on webpages. Don’t worry because to learn Javascript, there is no need for you to pay for other third- party software and tools. All you need is Notepad, or TextEdit if you are using a Mac computer. When you move on to the intermediate stages though, it would be better for you to use a source code editor that offer HTML and CSS support, such as Notepad ++. Thanks again for downloading this book. I hope you enjoy it! Table of Contents Introduction Table of Contents Chapter 1: JavaScript 101 Frequently Asked Questions Setting Expectations and Prerequisites Supplementary Education Recommendations after Reading This Book The Goals of This Book Tools You Need What’s the Console for Anyway? What’s Next? Chapter 2: Variables, Identifiers, and Statements Writing Code Variables Identifiers Case Sensitivity Statements Recap and Additional Information Chapter 3: JavaScript Basic Syntax Case Sensitivity Keywords Comments Function of Comments in Scripting or Programming Two types of comments Chapter 4: Operators Common Types of Operators Arithmetic Assignment String Concatenation Operators Logical and Comparison Operators Chapter 5: Data Type Dynamic Data Typing Number Strings Adding Quotation Marks on Strings Smart Quotes or Curly Quotes Primitive Values undefined and null Arrays Array Index Array Values Data Types Chapter 6: Inserting JavaScript Code Where to Place JavaScript Within the Page Within Your Server as a Separate File Within Content Delivery Networks (CDNs) as a Separate File Sample Web Page File Code Sample: 1 (HTML TEMPLATE) Sample JavaScript Usage Code Sample: 2 (WINDOWS.ALERT) Chapter 7: Code Blocks, Functions, and Scope Functions Scope Global and Local Variables Arguments and Parameters Function return Recap Chapter 8: Conditionals Conditional Statement If If Else Statement Else If Statement Switch Conditional Statement Case Keyword Break Keyword Default Keyword Chapter 9: Loops For Loop Eternal Loops While Loop Do While Loop Chapter 10: Events Syntax and Case Event Exclusivity Curious Cat Multiple Events Chapter 11: HTML DOM The Document Object Document Object’s Properties and Methods Navigating Through the Document Object Model Parent and Child Concept Chapter 12: HTML and CSS Editing Using JavaScript and DOM The getElementById method and innerHTML Property innerHTML versus innerText versus textContent JavaScript and CSS Chapter 13: JavaScript Object Oriented Programming Programming Paradigms Structured and Unstructured Programming Procedural Programming Object Oriented Programming Chapter 14: Objects Assigning Objects to Variables — By Value and By Reference Object Creation Using Object Literal Chapter 15: Classes, Properties, and Methods Constructor Function and new Keyword Object Creation Using Constructor Function Chapter 16: Properties and Methods this Keyword Methods The Concept of Get and Set/Let Providing Arguments and Parameters to Your Constructor Chapter 17: Common Methods String Methods or Commands search() method Array Methods and Properties Length Dot Accessor Operator Push Chapter 18: JavaScript Math Chapter 19: Advanced Data Types – Data Conversion and Constructor Data Types Chapter 20: Dates and Time Chapter 21: Regular Expressions in JavaScript Chapter 22: Errors and Debugging Try, Catch, and Finally Console.log Chapter 23: AJAX Chapter 24: JSON Chapter 25: jQuery Chapter 26: JavaScript in Bootstrap Conclusion

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.