You put the supply brown into "COM" and the load brown into "L1"
Then, the switch will permit/prevent the current to flow from the plug to the lamp, and when you pull the cord the lamp will go on and off.
the blues should be connected together using an insulated connection that cannot be touched. I am not sure how you will do this in your pull-cord switch, unless it has some spare "parking" terminals.
You can also get a Double Pole switch that has four terminals, and switches both the blue and the brown. these are more expensive.
As Ban says, it is not usual to wire a fixed lamp and ceiling switch in flex from a plug, and we are anxious about the safety of the installation work you are doing in your son's room. You might be safer with a table lamp.
Then, the switch will permit/prevent the current to flow from the plug to the lamp, and when you pull the cord the lamp will go on and off.
the blues should be connected together using an insulated connection that cannot be touched. I am not sure how you will do this in your pull-cord switch, unless it has some spare "parking" terminals.
You can also get a Double Pole switch that has four terminals, and switches both the blue and the brown. these are more expensive.
As Ban says, it is not usual to wire a fixed lamp and ceiling switch in flex from a plug, and we are anxious about the safety of the installation work you are doing in your son's room. You might be safer with a table lamp.