> For the complete documentation index, see [llms.txt](https://program.hackyourfuture.dk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://program.hackyourfuture.dk/course-content/frontend/advanced-javascript.md).

# Advanced JavaScript

Javascript is the brain of the website and an essential technology to master when building increasingly complex websites.

In this module, you will advance your JavaScript expertise to build interactive and dynamic websites. You will explore how to retrieve data from remote servers, process and present complex information in intuitive interfaces, and develop responsive web applications that respond to user actions. Additionally, you will learn strategies for designing scalable and maintainable code to tackle advanced development scenarios.

## Contents

| Week | Topic                                                                                           | Preparation                                                                      | Session Plan                                                                                     | Assignment                                                                     |
| ---- | ----------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
| 1.   | [Array functions & Arrow functions](/course-content/frontend/advanced-javascript/week1.md)      | [Preparation](/course-content/frontend/advanced-javascript/week1/preparation.md) | [Session Plan](/course-content/frontend/advanced-javascript/week1/session-plan.md) (for mentors) | [Assignment](/course-content/frontend/advanced-javascript/week1/assignment.md) |
| 2.   | [Callback functions & Asynchronous code](/course-content/frontend/advanced-javascript/week2.md) | [Preparation](/course-content/frontend/advanced-javascript/week2/preparation.md) | [Session Plan](/course-content/frontend/advanced-javascript/week2/session-plan.md) (for mentors) | [Assignment](/course-content/frontend/advanced-javascript/week2/assignment.md) |
| 3.   | [Promises & `async`/`await`](/course-content/frontend/advanced-javascript/week3.md)             | [Preparation](/course-content/frontend/advanced-javascript/week3/preparation.md) | [Session Plan](/course-content/frontend/advanced-javascript/week3/session-plan.md) (for mentors) | [Assignment](/course-content/frontend/advanced-javascript/week3/assignment.md) |
| 4.   | [Classes & Object-Oriented Programming](/course-content/frontend/advanced-javascript/week4.md)  | [Preparation](/course-content/frontend/advanced-javascript/week4/preparation.md) | [Session Plan](/course-content/frontend/advanced-javascript/week4/session-plan.md) (for mentors) | [Assignment](/course-content/frontend/advanced-javascript/week4/assignment.md) |

## Module Learning Goals

By the end of this module, you will be able to:

* [ ] Retrieve and work with data from remote servers
* [ ] Process and display complex data in user-friendly interfaces
* [ ] Create responsive web applications that react to user input
* [ ] Build complex websites in a scalable and maintainable way


---

# 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://program.hackyourfuture.dk/course-content/frontend/advanced-javascript.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.
