# Welcome!

This is an introductory workshop to JavaScript. You'll be learning the fundamentals of JavaScript, and completing some mini-challenges along the way.

### Why JavaScript? <a href="#why-javascript" id="why-javascript"></a>

If you want to learn to code, JavaScript is a great first language. As the official language of the web, you can build amazing websites and applications with JavaScript alongside HTML and CSS. It's easy to use, and has immediate payoff. Once you learn JavaScript, you'll find it easier to learn other programming languages which share common concepts.

### Workshop Structure <a href="#workshop-structure" id="workshop-structure"></a>

This workshop is divided into a number of steps. In each step, you will be introduced to a new programming concept, be shown some examples, and be given a challenge to complete. At the end of each step, you should find a link to continue onto the next step.

After the steps, there are 5 challenges where you combine your new skills to solve some small tasks. If you get stuck, or want to double-check anything, ask your mentor for some guidance.

### Where to Run Your Code <a href="#where-to-run-your-code" id="where-to-run-your-code"></a>

As you write code, you'll want to be able to see what it does. For this, you need to "run it" somewhere. You can do this in a number of ways, but to keep things simple today, we are going to use a tool called [Repl.it](https://repl.it/). Create an account, and start a new project on the site. Make sure to select JavaScript as your language of choice.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://node-girls.gitbook.io/beginners-javascript/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
