From f1ca6a6ffab026a9af2bb3b2b160dde31d8a74fa Mon Sep 17 00:00:00 2001 From: Arjun Mahishi Date: Sun, 24 Dec 2017 18:10:36 +0530 Subject: [PATCH] Fixed indentation --- snippets/randomHexColorCode.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/snippets/randomHexColorCode.md b/snippets/randomHexColorCode.md index 8e85d5781..c234292ab 100644 --- a/snippets/randomHexColorCode.md +++ b/snippets/randomHexColorCode.md @@ -6,9 +6,9 @@ Use `Math.random` to generate a random number and limit that number to fall in b ```js const randomHexColorCode = () => { - var color = '#'; - while(color.length < 7) color += '0123456789ABCDEF'[Math.floor(Math.random() * 16)]; - return color; + var color = '#'; + while(color.length < 7) color += '0123456789ABCDEF'[Math.floor(Math.random() * 16)]; + return color; } // randomHexColorCode() -> "#e34155"