<commit_before>

<!DOCTYPE html>
<html>
<head>
	<title>
		



	</title>


</head>
<body>

	<h1 id="myHeading">Click Somewhere!</h1>

	<script src = "https://code.jquery.com/jquery-3.3.1.js"></script>

<script>



// var doSomeAnimation = function(){
// 		$("#myHeading").offset({
// 			// offset has left and top attributes
// 			left: event.pageX,
// 			top: event.pageY

// 		})
// }

// // $("html").Click(function(event){
// // 	$("#myHeading").offset({
// // 			// offset has left and top attributes
// // 			left: event.pageX,
// // 			top: event.pageY

// // 		})
// // })


// // // 		})
// // // }

	$("html").click(function (event){

console.log("pageX =" + event.pageX)

		$("#myHeading").offset({
			// offset has left and top attributes
			left: event.pageX,
			top: event.pageY

		})
	})



</script>	


</body>
</html><commit_msg>Update Chapter10_3_jumpTo-click.html<commit_after>

<!DOCTYPE html>
<html>
<head>
	<title>
		



	</title>


</head>
<body>

	<h1 id="myHeading">Click Somewhere!</h1>

	<script src = "https://code.jquery.com/jquery-3.3.1.js"></script>

<script>




	$("html").click(function (event){

console.log("pageX =" + event.pageX)

		$("#myHeading").offset({
			// offset has left and top attributes
			left: event.pageX,
			top: event.pageY

		})
	})



</script>	


</body>
</html>

{'fraction_non_alphanumeric': 0.23030303030303031, 'fraction_numerical': 0.009848484848484848, 'mean_word_length': 2.494708994708995, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3622645', 'n_tokens_mistral': 587, 'n_tokens_neox': 522, 'n_words': 94}