From a520329b30ddf358dcf1de9a9e9e8c6429976147 Mon Sep 17 00:00:00 2001
From: oabdelnour <oabdelnour@takima.fr>
Date: Mon, 26 Feb 2024 16:36:56 +0100
Subject: [PATCH] wip

---
 .../docs/docs/chapters/tp/arrow-functions.md  | 33 +++++++------------
 1 file changed, 11 insertions(+), 22 deletions(-)

diff --git a/resources/docs/docs/chapters/tp/arrow-functions.md b/resources/docs/docs/chapters/tp/arrow-functions.md
index 1f234b1..289d224 100644
--- a/resources/docs/docs/chapters/tp/arrow-functions.md
+++ b/resources/docs/docs/chapters/tp/arrow-functions.md
@@ -118,30 +118,19 @@ Waiting a certain amount of time can be easily done using the [`setTimeout()`](h
         }
       }
       ```
-=== "C"
-
-    ``` c
-    #include <stdio.h>
-
-    int main(void) {
-      printf("Hello world!\n");
-      return 0;
-    }
-    ```
-
-=== "C++"
-
-    ``` c++
-    #include <iostream>
-
-    int main(void) {
-      std::cout << "Hello world!" << std::endl;
-      return 0;
-    }
-    ```
-
   </details>
 
+:::tabbed
+@A
+ ```js
+    console.log("coucou");
+ ```
+@B
+```js
+    console.log("coucou");
+ ```
+:::
+
 ## Template literals
 
 Concatenating strings is not something we enjoy in any language. Fortunately, _ES6_ comes with [**template literals**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals) as an alternative:
-- 
GitLab