Skip to content

Instantly share code, notes, and snippets.

@shonendumm
Created April 20, 2017 10:09
Show Gist options
  • Save shonendumm/f7eaea967ee3a7c291bcd6d68d4d1f47 to your computer and use it in GitHub Desktop.
Save shonendumm/f7eaea967ee3a7c291bcd6d68d4d1f47 to your computer and use it in GitHub Desktop.
JS Bin website testing learning // source https://jsbin.com/zijegat
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="website testing learning">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
body {
width: 800px;
margin: auto;
}
nav {
background-color: Orange;
text-align: center;
}
nav ul li {
display: inline-block;
margin: 0px 30px;
}
#section {
text-align: justify;
background: LightSkyBlue;
border-radius: 25px;
padding: 10px;
}
#figpic {
width: 300px;
margin: 5px;
padding: 5px;
float: right;
}
figcaption {
font-size: smaller;
font-style: italic;
text-align: center;
}
#pic01 {
width: 100%;
border: 2px solid white;
box-shadow: 0 0 5px black;
}
#text::selection {
background: yellow;
}
#square {
position: fixed;
width: 200px;
height: 200px;
background-color: gold;
overflow: auto;
bottom: 20px;
right: 20px;
box-shadow: 8px 8px 3px black;
}
#tableHolder {
}
table {
border: 1px solid black;
border-collapse: collapse ;
float: left;
box-shadow: 8px 8px 3px black;
margin-right: 15px;
margin-bottom: 15px;
background: white;
}
table td {
border: 2px solid blue;
font-size: 24px;
padding: 15px;
text-align: center;
}
table tr:nth-child(even) {
background-color: grey;
}
</style>
</head>
<body>
<nav><ul><li><a href="">About Me</a></li><li><a href="">Science</a></li><li><a href="">Arts</a></li><li><a href="">Images</a></li><li><a href="">Reno 911</a></li>
</ul></nav>
<div id="section">
<figure id="figpic">
<img id="pic01" src="http://i.imgur.com/XjphXrl.jpg" alt="funny pic"/>
<figcaption>funny pic placed here for demo</figcaption>
</figure>
<p id="text">hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph.hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph.hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph.hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph. hello this is a test paragraph. </p>
<div id="square"><p>A new normal seems to have settled at Straits University, with Madelyn being acting dean and finally on good terms with Sylvia. David and Francis eagerly anticipate the outcome of their tenureship applications. </p><p>Philip is convinced that Alex is responsible for Juliet's death.A new normal seems to have settled at Straits University, with Madelyn being acting dean and finally on good terms with Sylvia. David and Francis eagerly anticipate the outcome of their tenureship applications. </p><p>Philip is convinced that Alex is responsible for Juliet's death.A new normal seems to have settled at Straits University, with Madelyn being acting dean and finally on good terms with Sylvia. David and Francis eagerly anticipate the outcome of their tenureship applications. Philip is convinced that Alex is responsible for Juliet's death.</p></div>
<div id="tableHolder">
<table>
<tr><td>A</td><td>B</td></tr>
<tr><td>C</td><td>D</td></tr>
<tr><td>E</td><td>F</td></tr>
<tr><td>G</td><td>H</td></tr>
<tr><td>I</td><td>J</td></tr>
</table>
</div>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.</p><p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>
</div>
<script id="jsbin-source-css" type="text/css">body {
width: 800px;
margin: auto;
}
nav {
background-color: Orange;
text-align: center;
}
nav ul li {
display: inline-block;
margin: 0px 30px;
}
#section {
text-align: justify;
background: LightSkyBlue;
border-radius: 25px;
padding: 10px;
}
#figpic {
width: 300px;
margin: 5px;
padding: 5px;
float: right;
}
figcaption {
font-size: smaller;
font-style: italic;
text-align: center;
}
#pic01 {
width: 100%;
border: 2px solid white;
box-shadow: 0 0 5px black;
}
#text::selection {
background: yellow;
}
#square {
position: fixed;
width: 200px;
height: 200px;
background-color: gold;
overflow: auto;
bottom: 20px;
right: 20px;
box-shadow: 8px 8px 3px black;
}
#tableHolder {
}
table {
border: 1px solid black;
border-collapse: collapse ;
float: left;
box-shadow: 8px 8px 3px black;
margin-right: 15px;
margin-bottom: 15px;
background: white;
}
table td {
border: 2px solid blue;
font-size: 24px;
padding: 15px;
text-align: center;
}
table tr:nth-child(even) {
background-color: grey;
}</script>
</body>
</html>
body {
width: 800px;
margin: auto;
}
nav {
background-color: Orange;
text-align: center;
}
nav ul li {
display: inline-block;
margin: 0px 30px;
}
#section {
text-align: justify;
background: LightSkyBlue;
border-radius: 25px;
padding: 10px;
}
#figpic {
width: 300px;
margin: 5px;
padding: 5px;
float: right;
}
figcaption {
font-size: smaller;
font-style: italic;
text-align: center;
}
#pic01 {
width: 100%;
border: 2px solid white;
box-shadow: 0 0 5px black;
}
#text::selection {
background: yellow;
}
#square {
position: fixed;
width: 200px;
height: 200px;
background-color: gold;
overflow: auto;
bottom: 20px;
right: 20px;
box-shadow: 8px 8px 3px black;
}
#tableHolder {
}
table {
border: 1px solid black;
border-collapse: collapse ;
float: left;
box-shadow: 8px 8px 3px black;
margin-right: 15px;
margin-bottom: 15px;
background: white;
}
table td {
border: 2px solid blue;
font-size: 24px;
padding: 15px;
text-align: center;
}
table tr:nth-child(even) {
background-color: grey;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment