Aligning Label and then sub labels

Thanks I will consider using for in my final code. I was confused but it is working fine as shown in the JSFiddle I posted in a separate question here. Decided to post a different question since the my question is different than this post.