Doubt in buzzer project

Why resistor is not used during buzzer project?

The buzzer supplied in the Kit is an ‘active’ buzzer, which means that it only needs an electric current to make a noise.

Notice that it calls it an active buzzer. An active device generally takes care of the fiddly parts for you, like oscillating and limiting current (within voltage limits which should be in its datasheet).