How far have you gotten? Can you figure out how to add a flop-flop to change the “light on while button pressed” circuit to an “on with first button press, off with second button press” circuit? If you can’t figure that much out after being told the flip-flop can be used to remember the current state and goes between the button and LED nodes, then I don’t know how to help you besides just giving you the final solution, and that is not helping you learn to write your own code.
If the flip-flop description isn’t enough to tell you how to use it, you can wire tweak nodes to the inputs and watch nodes to the output and run a simulation to see what happens to the output with each change of input. Between the description and seeing results of different inputs, you should be able to get an understanding of what the node does. Seeing one way someone uses a node isn’t likely to show you the real power of the node.
If you don’t know what someone is taking about when they mention a node and don’t know where to find it, use the search function (double click in the workspace or single click in the workspace and type ‘i’, then type your search). For example, searching for ‘tweak’ will show input nodes for each data type. By choosing the data type that matches the flip-flop node inputs, you can change those inputs during the simulation (click on the tweak node, then change value or click pulse button in the node details pane to the left of the workspace). Note that some input pins will always do the same thing, while other pins might depend on the current state of the node (pins on flip-flop node are a good example of both cases).
It might take a lot of input changes to fully understand how a single node works in all cases, especially if you are using implicit type conversions (like wiring the Boolean button output to a pulse flip-flop input); sometimes this works… sometimes it is not even allowed because it doesn’t make sense out it is not obvious how it should be converted, but there might be additional nodes that do the conversation for you (like pulse-on-true or pulse-on-false).