From 45a203aab240c87f1017517c438a741acbfe0047 Mon Sep 17 00:00:00 2001 From: Oumaima Fisaoui <48260689+Oumaimafisaoui@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:43:37 +0000 Subject: [PATCH] Docs(DPxAI): Fixed formatting issues --- subjects/DPxAI/listed/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/subjects/DPxAI/listed/README.md b/subjects/DPxAI/listed/README.md index 63c687a95..977b8edbb 100644 --- a/subjects/DPxAI/listed/README.md +++ b/subjects/DPxAI/listed/README.md @@ -42,7 +42,7 @@ let batteryLevels = [80, 60, 90, 50]; ### Indexes in Arrays -The position of an element in an array is called its index, starting from 0. So, our batteryLevels array is roughly equivalent to writing this object: +The position of an element in an array is called its index, starting from 0. So, our `batteryLevels` array is roughly equivalent to writing this object: ```js let batteryLevelsObject = { @@ -115,9 +115,9 @@ You must declare a variable `components` that contains 4 strings, one for each r We provide you a variable `robotParts` that contains some elements. You will have to access them and assign their values to variables: -- A variable `firstPart` for the first element of the robotParts list -- A variable `lastPart` for the last element of the robotParts list -- A variable `comboParts` as an array of 2 elements, the last and the first element of the robotParts list, in that order. +- A variable `firstPart` for the first element of the `robotParts` list +- A variable `lastPart` for the last element of the `robotParts` list +- A variable `comboParts` as an array of 2 elements, the last and the first element of the `robotParts` list, in that order. Example: if robotParts is `[1, 2, 3]` -`firstPart` would be `1`