Git Product home page Git Product logo

learn-javascript's Introduction

Learn JavaScript

GitHub issues GitHub forks GitHub stars GitHub license Twitter OpenSSF Best Practices

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 will teach you the basics of programming and JavaScript. Whether you are an experienced programmer or not, this book is intended for everyone who wishes to learn the JavaScript programming language. This book is divided into three main parts. The first 14 chapters cover the JavaScript language. The following four chapters discuss how JavaScript is used to program web browsers. The final two chapters are miscellaneous, and exercises. Various important topics and cases related to JavaScript programming are described in the Miscellaneous chapter, which is followed exercises.

Code, and what to do with it

Code is the written instructions that make up a program. Many chapters in this book contain a lot of code, and it is important to read and write code as part of learning how to program. You should not just quickly scan the examples - read them carefully and try to understand them. This may be difficult at first, but with practice, you will improve. The same goes for the exercises - make sure you actually try to write a solution before assuming you understand them. It is also helpful to try running your solutions to the exercises in a JavaScript interpreter, as this will allow you to see if your code is working correctly and may encourage you to experiment and go beyond the exercises.

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
โ”œโ”€โ”€ ne                      # content of book in nepali 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.

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 [email protected], or reach out to Suman directly. We hope you find this resource helpful ๐Ÿ’œ

learn-javascript's People

Contributors

anuj-khadka avatar gnwx avatar sahilxkhadka avatar sumn2u avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.