html-Grundgerüst

<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script>
$(document).ready(function(){
/* Hier der jQuery-Code */
alert('Hallo Welt');
});
</script>

<link rel="stylesheet" href="styles.css">
<title>Titel</title>
</head>
<body>

</body>
</html>

jQuery einbinden

<script>
$(document).ready(function(){
/* Hier der jQuery-Code */
alert('Hallo Welt');
});
</script>


CSS

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}


Video responsive einbinden

html

<div class="responsive-video">
<iframe src="http://player.vimeo.com/video/47387431?title=0&amp
;byline=0&amp;portrait=0&amp;autoplay=0"
width="1600" height="900" frameborder="0" webkitAllowFullScreen
mozallowfullscreen allowFullScreen>
</iframe>
</div>


CSS

.responsive-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.responsive-video {
	position: relative;
	padding-bottom: 56.25%; /* Default for 1600x900 videos 16:9 ratio*/
	padding-top: 0px;
	height: 0;
	overflow: hidden;
}

qr-code-Generator

http://www.qrcode-generator.de/

jQuery: Boxen gleiche Höhe:

var maxHeight = 0;
$("div").each(function(){
	if ($(this).height() &gt; maxHeight) { maxHeight = $(this).height(); }
});
$("div").height(maxHeight);

 

sticky Header

http://www.webdesignerdepot.com/2014/05/how-to-create-an-animated-sticky-header-with-css3-and-jquery/

 

scroll to top

https://www.youtube.com/watch?v=JTlI7yqnk4c