Skip to content

CrownPab/learn-javascript

 
 

Repository files navigation

Learn JavaScript

GitHub issues GitHub forks GitHub stars GitHub license Twitter OpenSSF Best Practices Open Source Helpers

This book provides a basic understanding of programming and JavaScript. The foundations and core concepts are described in simple terms in an organized manner. In-depth information and notes are provided with examples to understand the topic. Exercises are also present at the end.

📚 Introduction

Learn JavaScript: Beginners Guide provides a foundational understanding of programming and JavaScript. It covers the core concepts in a simple and organized manner, offering in-depth information and notes along with examples to facilitate comprehension. Each chapter includes exercises to reinforce your learning.

What You'll Learn

This book is designed for both novice and experienced programmers, offering a comprehensive introduction to the JavaScript programming language. It's divided into three main parts. The initial 14 chapters focus on JavaScript fundamentals, while the subsequent four chapters delve into web browser programming using JavaScript. The last two chapters are dedicated to miscellaneous topics and exercises.

🚀 Code, and What to Do With It

Code is the heart of any program, and this book contains numerous code examples. To master programming, it's essential to read and write code diligently. Don't rush through the examples; take your time to understand them thoroughly. The same applies to the exercises – attempt to solve them before checking the solutions. Consider running your code in a JavaScript interpreter to ensure it works correctly. Experimenting and going beyond the exercises will enhance your skills.

By adding emojis and organizing the content, you can make the text more engaging and visually appealing.

Typographic conventions

In this book, text written in a monospaced font represents elements of a program. This can be a self-contained fragment or a reference to part of a nearby program. Programs, like the one shown below, are written in this way:

const numbers = [45, 4, 9, 16, 25];
let txt = "";
for (let x in numbers) {
  txt += numbers[x];
}

Sometimes, the expected output of a program is written after it, preceded by two slashes with a Result, like this:

console.log(txt);

// Result: txt = '45491625'

Support the project ⭐

If you feel awesome and want to support us in a small way, please consider starring and sharing the repo! This helps us get visibility and allow the community to grow. 🙏

star_us

Getting started

  1. Clone this repository.
  2. Move to learn-javascript directory.
  3. Install dependencies using yarn or npm i
  4. Run yarn start command.
  5. Visit http://localhost:4000 for preview

Structure

The main contents are under the charset of each language directory . For English, use en directory.

directory | description

learn-javascript
├── _book                   # compiled version of contents
├── _layouts                # layout for rendering book/website
├── en                      # content of book in english language
├── fr                      # content of book in french language
├── np                      # content of book in nepali language
├── tr                      # content of book in turkish language
├── LANGS.md                # supported languages
├── book.json               # configuration for book
└── ...

Edit Documents

Edit existing documents

  1. fork and clone the repository
  2. edit locally
  3. push and create PR

Add new documents

Create *.md file under <lang>/chapter-<n>/ directory.

Contributors

Contributing

Contributions are always welcome. Feel free to report Issue or send Pull Request.

If you have any questions or feedback, please don't hesitate to contact us at sumn2u@gmail.com, or reach out to Suman directly. We hope you find this resource helpful 💜.

License

This project is Apache License 2.0 licensed.

Releases

No releases published

Packages

 
 
 

Languages

  • HTML 98.1%
  • Dockerfile 1.9%