From 70366ffee6697f6d608367ef522565bdb559f5b0 Mon Sep 17 00:00:00 2001 From: Derrek Gass Date: Thu, 15 Oct 2020 15:10:36 -0700 Subject: [PATCH] format before injectino --- solutions/day-02/index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/solutions/day-02/index.html b/solutions/day-02/index.html index b808d2b..2c59a69 100644 --- a/solutions/day-02/index.html +++ b/solutions/day-02/index.html @@ -124,7 +124,9 @@ ) const techs = ['HTML', 'CSS', 'JavaScript'] - + // format before injection + const techsFormatted = techs.map((tech) =>
  • {tech}
  • ) + const header = (
    @@ -156,7 +158,7 @@ :

    -
      {techs}
    +
      {techsFormatted}
    {result} {personAge}