> For the complete documentation index, see [llms.txt](https://volunteers.migracode.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://volunteers.migracode.org/coding-course/class-information/teaching-instructions/javascript-i/week-3.md).

# 3 - Arrays and callbacks

## Lesson Resources

### Presentations

* [Week 3 - Javascript I - Arrays and callbacks \[Google Slides\] - 2020 (english)](https://docs.google.com/presentation/d/1WpKwBeCkN3gF7lUYUAUEGo_pFzb5OJ1DTl_aJZGXeA8)
  * Created by Alexandra Yamaui \[MigraCode]
* [Week 3 - Javascript I - Arrays and callbacks \[Google Slides\] - 2021 (español)](https://docs.google.com/presentation/d/1LMWsxryjRjOdY58RHbH6V-43ZfCb3yDm4qNhXg-8ILw)
  * Created by Alexandra Yamaui \[MigraCode]
* [Week 3 - JS Core 1 \[Google Slides\] - 01/05/2020](https://drive.google.com/open?id=1q98KUoX5QQoFEDUl52hLxOnWkoCi2vGrehHjBBEnfdI)
  * Created by Manchester Volunteers \[CodeYourFuture]

### Completed exercises

* [Week 3 - Javascript](https://github.com/hheiress/exercises-js1/tree/master/week-3) (InClass + Homework)
  * Created by Diana Dashkovska \[MigraCode]

## Homework Suggestion

{% hint style="info" %}
Remember copy the Homework to the [Trello ](https://trello.com/b/wl6LgDXD/homework-overview)at the end of the class
{% endhint %}

1. From the [Javascript Module 1 repository](https://github.com/Migracode-Barcelona/javascript-module-1) review and finish all exercises in the folder `week-3/InClass`
2. Complete all of the exercises in the folder `week-3/Homework`
3. [Push](https://syllabus.migracode.org/git#commit-and-push-your-changes-to-github) the changes to your repository in Github
4. Go to [The Modern JavaScript Tutorial](https://javascript.info/) and widen your knowledge on:
   1. [2.13 Switch](https://javascript.info/switch)
   2. [5.5 Array methods](https://javascript.info/array-methods)

## Practice Day (Saturday) <a href="#practice-day-saturday" id="practice-day-saturday"></a>

1. Check together, solve doubts and fix the Homework exercises
2. Go to [CodeWars](https://codewars.com/) and solve all the katas you didn't finish last week
3. \[Optional] Complete the exercises in the folder `week-3/Extra`
4. [Push](https://syllabus.migracode.org/git#commit-and-push-your-changes-to-github) the changes to your repository in Github

## Feedback

{% hint style="info" %}
We can always improve thanks to your feedback, you can use this document to send your ideas or suggestions on every week. \
This [document ](https://docs.google.com/document/d/1AzqbpWri4cyeqqf8TVHIovfdRYWOdONsYU01LVvdPvI)will help us to improve Syllabus and this guide
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://volunteers.migracode.org/coding-course/class-information/teaching-instructions/javascript-i/week-3.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
