# Preparation

* [Basic DOM manipulations (img src, innerHTML)](https://github.com/HackYourFuture/fundamentals/blob/master/fundamentals/DOM_manipulation.md) (5 min)
* [Code Debugging Using the Browser](https://javascript.info/debugging-chrome) (5 min)
* [Code commenting](https://github.com/HackYourFuture/fundamentals/blob/master/fundamentals/code_commenting.md) (2 min)
* [Attaching an event](https://www.w3schools.com/jsref/met_element_addeventlistener.asp) (5 min)

*Please go through the material and come to the session prepared!*

## Flipped classroom videos

* [Executing Javascript in the browser environment](https://youtu.be/k8PEyCe3vK0)
* [Interacting with the DOM using Javascript](https://youtu.be/YvHQIaKtOl8)
* [DOM event listeners using Javascript](https://youtu.be/DwzApTvTngI)
* [Fetching data from API using fetch - Javascript](https://youtu.be/pL_zEzunBKU)


---

# 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://program.hackyourfuture.dk/course-content/foundation/intro-to-frontend/week1/preparation.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.
