Your use of such as is correct. I don't understand this though: Why "such as" can be used after an "a ..."?
You should phrase the question like this: Why can "such as" be used after an "a..."? However, I still don't understand it.
Student or Learner