From cc984cbd2ce3c921927a8633ab2d200a167499d6 Mon Sep 17 00:00:00 2001 From: Oumaima Fisaoui <48260689+Oumaimafisaoui@users.noreply.github.com> Date: Mon, 12 Aug 2024 19:37:01 +0000 Subject: [PATCH] Docs(DPxAI): Modify formatting --- subjects/DPxAI/transform-objects/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subjects/DPxAI/transform-objects/README.md b/subjects/DPxAI/transform-objects/README.md index 9e8577197..ea96eede0 100644 --- a/subjects/DPxAI/transform-objects/README.md +++ b/subjects/DPxAI/transform-objects/README.md @@ -62,7 +62,7 @@ robot.code = undefined; #### Task 1: -Modify the provided robot variable: +Modify the provided `robot` variable: - Add a `model` property with the string value 'RX-78'. - Add a `fullName` property that is the joined value of the brand and the model with a space in between. @@ -72,8 +72,8 @@ Modify the provided robot variable: Let's move away from objects a bit, and discover a notion we will use later. `Duplicating a String with Placeholders`! -Declare a variable `duplicate` that repeats the provided variable sentence, separated by a comma, and adds an exclamation mark at the end. +Declare a variable `duplicate` that repeats the provided variable `sentence`, separated by a comma, and adds an exclamation mark at the end. -> For example, if sentence is "Hello there", we expect "Hello there, Hello there!". +> For example, if `sentence` is "Hello there", we expect "Hello there, Hello there!". **What a good occasion to apply what you learned in using generative AI and documentations to understand duplicating a string with placeholders! Now you are capable to find the information everywhere;)**