Dynamically Create Html Elements Javascript Interview