Chapter 2 ticket user preferences and durable writes error in the code

I have done the task correctly but could not get the validation code and in two ticket I met errors and failed to pass!

We cannot really help you if you do not share the errors you are getting. Please share a screenshot that illustrates the issues you are having.