Teaching our toddler to swim : classes, tips and taking our time

We have tried teaching our toddler to swim and assumed an organised class would be the answer. My husband is a confident swimmer but works full time so there are limited opportunities for him to take out toddler swimming. I work flexibly so have two weekdays when I can take our son, but I’m not a confident swimmer. I also feel like I need the structure of going to a class or it’s too easy for me to skip it…