update,
This commit is contained in:
54
laitof/static_page/public/index copy.html
Normal file
54
laitof/static_page/public/index copy.html
Normal file
@@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body style="padding: 0; margin: 0; box-sizing: border-box;">
|
||||
<div>
|
||||
<div><div style="font-size: 2rem; height: 100px; width: 100vw;">Space and Astronomy</div></div>
|
||||
|
||||
<div style="display: flex; flex-direction: row">
|
||||
<div style="width: 20vw; height: calc( 100vh - 200px )">
|
||||
<div><a onclick="e => handlePlanetOnclick(e)" style="font-size: 2rem;" target="_blank">Planets</a></div>
|
||||
<div><a href="Stars" style="font-size: 2rem;">Stars</a></div>
|
||||
<div><a href="Earth" style="font-size: 2rem;">Earth</a></div>
|
||||
<div><a href="Moon" style="font-size: 2rem;">Moon</a></div>
|
||||
<div><a href="Mars" style="font-size: 2rem;">Mars</a></div>
|
||||
</div>
|
||||
|
||||
<div style="width: 60vw; height: calc( 100vh - 200px )">
|
||||
<div>
|
||||
Area C should be the place to show the major contents. The first page should be showing the picture.
|
||||
<div id="content" ></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="width: 20vw; height: calc( 100vh - 200px )">
|
||||
<div>
|
||||
Area D should be some URL to relevant web site on the Internet that is about space
|
||||
and astronomy, e.g. http://www.nasa.gov. All the links here should be opened as new
|
||||
window.
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div style="font-size: 1rem; height: 100px; width: 100vw; text-align: center;">
|
||||
Area E should contain your name and email link.
|
||||
Find a free web hosting service and upload on it.
|
||||
Sent me the link though google classroom.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const handlePlanetOnClick = () => alert('helloworld')
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user