From 3d2b924e7215f9316de729165b45051a05d780ae Mon Sep 17 00:00:00 2001
From: Love Arreborn <love.arreborn@liu.se>
Date: Thu, 27 Feb 2025 12:23:30 +0100
Subject: [PATCH] small edits

---
 README.md            | 26 ++++++++++++++++++++++++++
 javascript/README.md |  5 +----
 typescript/README.md | 10 ++++++----
 3 files changed, 33 insertions(+), 8 deletions(-)
 create mode 100644 README.md

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..56caf38
--- /dev/null
+++ b/README.md
@@ -0,0 +1,26 @@
+# Language repository
+
+This repository contains small examples for a simple function in several
+different programming languages. Feel free to play around with them, and modify
+them somehow!
+
+## Change ideas
+
+Here are some examples of how you can try to play around with these languages.
+What you decide to do is entirely up to you! These are just some examples for
+you to take inspiration from.
+
+- Change the manipulate-function to only add items if the value is even
+- Change the manipulate-function to print the values while adding them
+- Implement Fizz Buzz:
+  - A function takes a container with integers
+    - Loop through the container
+      - If the value is evenly sivisible with 3 and 5:
+        - Print "Fizz Buzz"
+      - If the value is only evenly divisible with 3:
+        - Print "Fizz"
+      - If the value is only evenly divisible with 5:
+        - Print "Buzz"
+      - Else, print the number itself
+- Take the container of integers, and returns the same values in a new container
+  but converted to strings
diff --git a/javascript/README.md b/javascript/README.md
index a8a2ba4..c3d5b24 100644
--- a/javascript/README.md
+++ b/javascript/README.md
@@ -1,13 +1,10 @@
-## JavaScript (README-javascript.md)
-
-````markdown
 # JavaScript
 
 ## How to Run
 
 1. Ensure Node.js is installed (check with `node --version`).
+   - If not, install node (`sudo apt-get install nodejs`)
 2. Run the file with:
    ```bash
    node example.js
    ```
-````
diff --git a/typescript/README.md b/typescript/README.md
index c4456bf..631cb77 100644
--- a/typescript/README.md
+++ b/typescript/README.md
@@ -2,12 +2,14 @@
 
 ## How to Run
 
-1. Ensure TypeScript is installed (check with `tsc --version`).
-2. Compile the file:
+1. Ensure Node.js is installed (check with `node --version`).
+   - If not, install node (`sudo apt-get install nodejs`)
+2. Install TypeScript through Node (`npm install typescript --save-dev`)
+3. Compile the file:
    ```bash
-   tsc example.ts
+   npx tsc example.ts
    ```
-3. Run the resulting JavaScript-file:
+4. Run the resulting JavaScript-file:
    ```
    node example.js
    ```
-- 
GitLab