There are several ways to grow biofilm on cover-slips, my favourite one is to put a clean and sterilized cover-slip in a 50 ml tubes and then you add the media and the bacteria and they will grow over the cover-slip (for more details see doi: 10.1016/j.mimet.2011.07.021)
Another options is to put the cover-slips in 6 well plates. In this type of model you will use less media but it will depend on the bacteria if they can form the biofilm on the bottom of the plate. While in the other model the cover slip is across the tube.
Growing in well plates is ideal. You can do many treatments and perform multiple samples. You can even process the slides in a well but I advise to transfer into a clean/unused well
6 well plates is a good option. The plate can be incubated at an angle to create an air-surface interface, or flat so the coverslip is submerged. Be aware of evaporation, although long incubation times (> 2 days) are probably not required.
the best solution is the flow cells. The cover slips are introduced in a plastic device and a flow of nutriment solution containing bacteria was applied under a controlled flow rate , bacterial concentration and temperature . Then, only adherent cells forming biofilm are present at each time in the flow cell. After an over night culture, it is possible to remove the slide and stain with fluorescent dye before confocal. This type of device is commercially available.