There is no general answer to this as it does depend on the specific programming of the game / website. If it's all client based, the information may already be there when the game starts and is simply hidden to the normal user. In that case, it is possible to read the solution. But it may be implemented in a way that the information which card is what is requested only just-in-time from the server, so it's not present in the client. If programmed correctly with cheat safety in mind (e.g. the information about the card is revealed per correct request from the server, but that also directly increments your number of moves) you are not able to cheat the game.
With best regards