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

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

#1


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.


#2

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>