Hello, i've never used arduino before and i want to know how to build a two button system, (green and red) with wifi and bluetooth connection to keep track of the time of response to an alarm. The red button have to activate a red led and the green button a green led. Meanwhile, a computer detects when the red light is on and counts the time.
If you use the WiFi option, you will have to build one little box which has a WiFi capable system in it (lets assume an ESP8266 ) and has your buttons on it. The ESP8266 will be configured as a web client and will send messages (vie HTTP GET) to your other box.
Your other box will also contain an ESP8266 but configured as WebServer. It will receive the button presses, record the times and calculate the intervals (response times).
This is one of the few applications where wired trumps wireless hands down.
Wireless is NOT time reliable, there are unpredictable delays in communication. This normally doesn't matter, but for communicating "button has been pressed NOW" it does. You want to record this NOW, not a random number of 1-100 ms in the future.
The ESP8266 is great for WiFi connections - look for NodeMCU or WeMOS D1 development boards. Very similar to Arduino but mind they run at 3.3V, not 5V.