From 360e3fffbd08e6b7d27c661daeffbc99430bfab0 Mon Sep 17 00:00:00 2001 From: Kaiguang Li <33639861+Kaiguang@users.noreply.github.com> Date: Tue, 30 Oct 2018 20:01:01 -0600 Subject: [PATCH] Fix misplaced anchor tag (#20346) --- .../intermediate-algorithm-scripting/steamroller/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/steamroller/index.md b/guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/steamroller/index.md index 8d3f443f66..305c90ce49 100644 --- a/guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/steamroller/index.md +++ b/guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/steamroller/index.md @@ -19,11 +19,11 @@ You need to check if an element is an array or not. ## ![:speech_balloon:](https://forum.freecodecamp.com/images/emoji/emoji_one/speech_balloon.png?v=3 ":speech_balloon:") Hint: 2 -If you are dealing with an array, then you need flatten it by getting the value inside of the array. This means if you have [4]] then instead of returning [4] you need to return 4\. If you get [[[4]]] then the same, you want the 4\. You can access it with arr[index1][index2] to go a level deeper. +If you are dealing with an array, then you need flatten it by getting the value inside of the array. This means if you have `[[4]]` then instead of returning `[4]` you need to return `4`. If you get `[[[4]]]` then the same, you want the `4`. You can access it with `arr[index1][index2]` to go a level deeper. > _try to solve the problem now_ -## ![:speech_balloon: Hint: 3 +## ![:speech_balloon:](https://forum.freecodecamp.com/images/emoji/emoji_one/speech_balloon.png?v=3 ":speech_balloon:") Hint: 3 You will definitely need recursion or another way to go beyond two level arrays to make the code flexible and not hard-coded to the answers needed. Have fun! @@ -31,7 +31,7 @@ You will definitely need recursion or another way to go beyond two level arrays ## Spoiler Alert! -![warning sign](//discourse-user-assets.s3.amazonaws.com/original/2X/2/2d6c412a50797771301e7ceabd554cef4edcd74d.gif) +![warning sign](https://discourse-user-assets.s3.amazonaws.com/original/2X/2/2d6c412a50797771301e7ceabd554cef4edcd74d.gif) **Solution ahead!**