Answers Final Challenge Template Strings

Hello,

For the Answers Final Challenge the step that validates the job card override doesn’t recognize string templates.

The challenge asks

Update subtitle to combine the c_jobDepartment field and the employment type field so the end result on the card looks like this: “[jobDepartment] | [employmentType]“, e.g., “Marketing | Full Time”.

It doesn’t like if you try and use:
subtitle: `${profile.c_jobDepartment} | ${profile.employmentType}`

Would it be possible to accept this answer (or add a note not to use templates)? It wasn’t obvious to debug.

Hi Ben,

Thanks for raising this! We’ll look into adding this alternate way as an accepted answer.

In the meantime, please use the string concatenation method (ie. profile.c_jobDepartment + " | " + profile.employmentType) to pass the challenge.

1 Like