This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta name="author" content="Alan Simpson"> | |
<meta name="description" content="Super simple responsive videos for your web site. Works with embedded videos as well as videos displayed by HTML5 video tags. Uses only a few lines of CSS3, no libraries or frameworks required. https://alansimpson.me/html_css/videos/"> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Responsive Video</title> | |
<style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta name="description" content="Use a free Google Firebase Database to allow visitors to leave comments on your web pages. From https://AlanSimpson.me/firebase"> | |
<meta name="author" content="Alan Simpson"> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>User Comments</title> | |
<style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<meta name="descripton" content="Pure JavaScript responsive photo slider - AlanSimpson.me" > | |
<meta name="Author" content="Alan Simpson"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Responsive Photo Slider</title> | |
<style> | |
/* Window through which the photos slide */ | |
#window { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<meta name="author" content="Alan Simpson"> | |
<meta name="description" content="Code and images available at http://alansimpson.me/javascript/code_quickies/slideshow/"> | |
<head> | |
<title>Photo Slideshow</title> | |
<style> | |
#slideshow { | |
/* Style to taste */ | |
width: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Photo Carousel</title> | |
<style> | |
/* This is the box that shows the large image */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Oops, not found.</title> | |
<!-- For this to actually work and redirect bad links, you need to configure your web server to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta name="author" content="Alan Simpson"> | |
<meta name="description" content="Scrolling Wrapper - https://AlanSimpson.me"> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Scrolling Wrapper</title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Responsive List</title> | |
<style> | |
.responsive{ | |
column-width: 320px; | |
column-gap: 36px; | |
} | |
</style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table border="3" cellspacing="0" cellpadding="2"> | |
<tr> | |
<th colspan="3" align="center">Hot Dog Calories</th> | |
</tr> | |
<tr> | |
<th>Ingredient</th> | |
<th>Calories</th> | |
<th>Taste</th> | |
</tr> | |
<tr> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Alan Simpson</title> | |
<style> | |
/* These can go in an external style sheet, of course. I just put | |
them here so all of the code would be in one place */ | |
@import url('https://fonts.googleapis.com/css?family=Open+Sans'); |