Why isnt the toggle button moving from its place in weather app?


Here is my link to my local weather app can you figure out why the toggle switch is not moving when I set the margin.

If I encapsulate your tag in a div and move the id to the div it works for me:

 <div id = "toggleSwitch"><input type="checkbox" data-toggle="toggle" data-on="Celsius" data-off="Fahrenheit" /></div>