PIR sensor, led, buzzer

Hi me and my son is new to arduino and for the moment we are working on a motiondetector for xmas.

Because we are new to programing we have to ask som questions.

We want a green led that is on constant untill someone breaks the PIR sensor and then we want to blink led1 or led 2 random and when led 2 in on we want a buzzer to sound.
is there any exampel that can guide us?

Sorry for bad english not our native language.

Hi,

You already have the code examples !

Open your Arduino IDE and the go to File, Examples, Basic where you will find code examples of how to flash a leds and how to Read a switch input which is what your Pir is.

Once you have read and understood how they both work you can bring them together for your full circuit.
Then you can add extra things like Random flashing rates and a buzzer.