Jan already gave a great answer explaining the real chemistry behind this, which you and your daughter should absolutely read. This answer also makes the point that the question is poorly worded and could be contested on that basis—that is absolutely true, but unfortunately rather common in high school chemistry courses.
In high school chemistry, one of the things they're trying to drill into young minds is how reactions proceed and which products will form. That's what they're trying to test here: can the student draw a conclusion about which product(s) will form when given the reactants?
Here, the reactants are given as excess aqueous hydrochloric acid and free nickel. Formulaically, that is the following reaction:
$$\ce{HCl(aq) + Ni(s) \rightarrow ?}$$
The student is supposed to be able to figure out that this is a single replacement/substitution reaction, a characteristic reaction of acids with metals, in which the ionic compound nickel (II) chloride will form while hydrogen gas is liberated:
$$\ce{2HCl(aq) + Ni(s) \rightarrow NiCl2 + H2(g)}$$
Once you figure this out, the question is designed to give you all of the information you need to answer the question insofar as it tells you what the colors of two different nickel salts are:
Nickel sulfate, $\ce{NiSO4(aq)}$ is a green solution. Nickel chloride, $\ce{NiCl2(aq)},$ is a yellow solution.
Essentially, you're supposed to decide which of these two salt solutions will be formed by the described reaction. Since the described reaction will yield nickel chloride (not nickel sulfate), the question is expecting you to answer that the solution will be yellow in color.
The question does not expect you to know, be able to figure out, or go research what color the solution will actually be if you do the reaction in the laboratory. Overthinking it may cause you to arrive at a different answer than was expected, which will lead you to getting the question wrong. You can absolutely contest this, but at least now you understand what the question wanted you to say and how they expected you to arrive at that conclusion.