Hi everyone. I just completed the assessment and I would like someone to look at my solution hire is the codepan link.
Thank in advance
Hi everyone. I just completed the assessment and I would like someone to look at my solution hire is the codepan link.
Thank in advance
Great work @milan.z
I have just two small thing:
motherInfo
contains two spaces between the names. This isn’t visible in HTML because consecutive whitespaces are treated as a single space. This could be a problem in cases where you use the strings elsewhere.index
when counting total
and male
you should just do total++
and male++
respectively.I hope that helps.
Michael
It helps a lot @mikoMK
A second small thing I understand.
A first small thing, do you recommend not using template strings in this case?
Whenever I have to combine variables and “normal” text in a string I resort to template strings. So I think it’s fine to use them in this case.