After I pasted some long codes to the Stack Snippet editor, I couldn't scroll down to the last, "wrapped" line, it's almost invisible:

![](https://i.sstatic.net/gSReU.png)

Try it in a 800x600 screen, paste this code to the HTML box:

		<input type="checkbox" id="checkbox1" />
		<label for="checkbox1">Tick the check box</label>

		$(function()
		{
			$("#checkbox1").change(function()
			{
				localStorage.check = this.checked;
			});
			var isChecked = localStorage.check ? localStorage.check == "true" : false;
			$("#checkbox1").prop("checked", isChecked);
		});