how to connect buzzer in bolt chip and what is coding for that in js
use male to female jumper wires and connect the longer pin of the buzzer to 0 and shorter pin to ground and your hardware circuit is ready!
this is how malet to female jumper wires look like
buzzer circuit connection.
<title> Buzzer test </title>
Thanks brother @sampatkumar.mca17