Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new files #2527

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions coffee.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hypertextual Reading</title>
</head>
<style>

</style>
</head>
<body>
<h1>Coffee</h1>
<img
width="100%"
src="https://www.w3schools.com/w3images/coffeehouse2.jpg"
alt="Coffee"
/>
Wikipedia says: </br>
</br>
Coffee is a brewed drink prepared from roasted coffee beans, which are the seeds of berries from the Coffea plant.
Read more about coffee on <a href="https://en.wikipedia.org/wiki/Coffee">https://en.wikipedia.org/wiki/Coffee</a>
<footer>
</br>
<a href="imagemap.html">back</a>
</footer>
</body>
</html>
28 changes: 28 additions & 0 deletions computer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hypertextual Reading</title>
</head>
<style>

</style>
</head>
<body>
<h1>Computer</h1>
<img
width="100%"
src="https://upload.wikimedia.org/wikipedia/commons/e/e5/ENIAC-changing_a_tube.jpg"
alt="Computer"
/>
Wikipedia says: </br>
</br>
A computer is a device that can be instructed to carry out arbitrary sequences of arithmetic or logical operations automatically.
Read more about computer on <a href="https://en.wikipedia.org/wiki/Computer">https://en.wikipedia.org/wiki/Computer</a>
<footer>
</br>
<a href="imagemap.html">back</a>
</footer>
</body>
</html>
28 changes: 28 additions & 0 deletions imagemap.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hypertextual Reading</title>
</head>
<style>

</style>
</head>
<body>
<p>Click on the computer, the phone, or the cup of coffee to go to a new page and read more about the topic:</p>

<img src="https://www.w3schools.com/tags/workplace.jpg" alt="Workplace" usemap="#workmap" width="400" height="379">

<map name="workmap">
<area shape="rect" coords="34,44,270,350" alt="Computer" href="computer.html">
<area shape="rect" coords="290,172,333,250" alt="Phone" href="phone.html">
<area shape="circle" coords="337,300,44" alt="Cup of coffee" href="coffee.html">
</map>

<footer>
</br>
<a href="index.html">back</a>
</footer>
</body>
</html>
51 changes: 45 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,51 @@
<!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>Static Template</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hypertextual Reading</title>
</head>
<style>
h1 {
font-family: monospace;
}
h2 {
font-family: fantasy;
}
</style>
<body>
<h1>This is a static template, there is no bundler or bundling involved!</h1>
<h1>Reading</h1>
<h2>Hypertextually</h2>
<img
width="100%"
src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/99/Muse_reading_Louvre_CA2220_%28cropped%29.jpg/520px-Muse_reading_Louvre_CA2220_%28cropped%29.jpg"
alt="a reading muse"
/>
<p>
<u>Every</u> user finds <b><i>their</i></b> individual path through the
garden. They become the directors everything that will unfold on their way
through different linked webpages<br /><br />
Will they click<br />
<input type="radio" name="you_will_click" value="Here" />
<label>
Here
</label>
<br />
<input type="radio" name="you_will_click" value="Here" />
<label>
Here
</label>
<br />
<input type="radio" name="you_will_click" value="Here" />
<label>
Or Here
</label>
</p>
<p>
If your reading carfully, your in for a
<a href="onchange.html">
...
</a>
</p>
</body>
</html>
</html>
46 changes: 46 additions & 0 deletions onchange.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Change Color</title>
</head>
<style>
select {
position: absolute;
left: 45%;
top: 45%;
}
p {
color: white;
}
a {
color: white;
}
</style>

<body>
<select onchange="color(this.value)">
<option value="">Choose Backgroundcolor</option>
<option value="blue">Blue</option>
<option value="red">Red</option>
<option value="hotpink">Hotpink</option>
<option value="chartreuse">Chartreuse</option>
</select>

<p>Surprise!</p>
<p>
if you click <a href="toggle.html">here</a> you will find another way, how
to hide (and then make visible) information on a site
</p>
<footer>
</br>
<a href="index.html">back</a>
</footer>
<script>
function color(value) {
document.body.style.backgroundColor = value;
}
</script>
</body>
</html>
12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "static",
"name": "hypertextual-readings",
"version": "1.0.0",
"description": "This is a static template with no bundling",
"description": "",
"main": "index.html",
"scripts": {
"start": "serve",
Expand All @@ -11,11 +11,7 @@
"type": "git",
"url": "git+https://github.com/codesandbox-app/static-template.git"
},
"keywords": [
"static",
"template",
"codesandbox"
],
"keywords": [],
"author": "Ives van Hoorne",
"license": "MIT",
"bugs": {
Expand All @@ -25,4 +21,4 @@
"devDependencies": {
"serve": "^11.2.0"
}
}
}
28 changes: 28 additions & 0 deletions phone.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hypertextual Reading</title>
</head>
<style>

</style>
</head>
<body>
<h1>Phone</h1>
<img
width="100%"
src="https://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Telefono_di_Meucci_-_Museo_scienza_tecnologia_Milano_02148-02147_dia.jpg/440px-Telefono_di_Meucci_-_Museo_scienza_tecnologia_Milano_02148-02147_dia.jpg"
alt="Telephone"
/>
Wikipedia says: </br>
</br>
A telephone, or phone, is a telecommunications device that permits two or more users to conduct a conversation when they are too far apart to be heard directly.
Read more about phone on <a href="https://en.wikipedia.org/wiki/Telephone">https://en.wikipedia.org/wiki/Telephone</a>
<footer>
</br>
<a href="imagemap.html">back</a>
</footer>
</body>
</html>
3 changes: 0 additions & 3 deletions sandbox.config.json

This file was deleted.

47 changes: 47 additions & 0 deletions toggle.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hypertextual Reading</title>
</head>
<style>
#myDIV {
width: 100%;
padding: 50px 0;
text-align: center;
background-color: lightblue;
margin-top: 20px;
}
</style>
</head>
<body>

<p>Click the "Try it" button to toggle between hiding and showing the DIV element:</p>

<button onclick="myFunction()">Try it</button>

<div id="myDIV" style="display:none;">
<a href="imagemap.html">if you go this way, you'll find out how to hide information in an image</a>
</div>

<p><b>Note:</b> The element will not take up any space when the display property
is set to "none".</p>

<footer>
</br>
<a href="index.html">back</a>
</footer>
<script>
function myFunction() {
var x = document.getElementById("myDIV");
if (x.style.display === "block") {
x.style.display = "none";
} else {
x.style.display = "block";
}
}
</script>

</body>
</html>