Skip to content

Commit 279b2ba

Browse files
author
Giovanni Di Milia
committed
first version working
1 parent ab4e036 commit 279b2ba

File tree

8 files changed

+228
-10
lines changed

8 files changed

+228
-10
lines changed

New/buyg.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Gold and Currencies Trader Inc</title>
6+
<link rel="stylesheet" type="text/css" href="style.css" />
7+
<script type="text/javascript" src="javascript.js"></script>
8+
</head>
9+
<body>
10+
<div class="leftmenu">
11+
<dl class="menulist">
12+
<dt>Menu</dt>
13+
<dd><span class="biggerfont">&nbsp;</span></dd>
14+
<dd><a href="xchange.html">Exchange Currencies</a></dd>
15+
<dd><a href="buyg.html">Buy Gold</a></dd>
16+
<dd><a href="http://www.nyse.com/">Visit the Wall Street Official Site</a></dd>
17+
</dl>
18+
</div>
19+
<div class="rightwrapper">
20+
<div class="topmenu">
21+
<div class="topbutton"><a href="index.html">Home</a></div> <div class="topbutton last"><a href="rates.html">Our Rates</a></div>
22+
</div>
23+
<div class="content">
24+
<h1>Buying Gold</h1>
25+
<h3>Rates: 150$/Kg</h3>
26+
27+
<form action="end.html">
28+
<label class="leftbox leftboxwide">Amount (in Kg):</label>
29+
<input class="rightbox" type="text" size="10" autofocus="autofocus" autocomplete="off"/>
30+
<label class="leftbox leftboxwide"><a href="index.html">Cancel</a></label>
31+
<input class="rightbox" type="submit" value="Buy"/>
32+
</form>
33+
</div>
34+
</div>
35+
</body>
36+
</html>

New/end.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Gold and Currencies Trader Inc</title>
6+
<link rel="stylesheet" type="text/css" href="style.css" />
7+
<script type="text/javascript" src="javascript.js"></script>
8+
</head>
9+
<body>
10+
<div class="leftmenu">
11+
<dl class="menulist">
12+
<dt>Menu</dt>
13+
<dd><span class="biggerfont">&nbsp;</span></dd>
14+
<dd><a href="xchange.html">Exchange Currencies</a></dd>
15+
<dd><a href="buyg.html">Buy Gold</a></dd>
16+
<dd><a href="http://www.nyse.com/">Visit the Wall Street Official Site</a></dd>
17+
</dl>
18+
</div>
19+
<div class="rightwrapper">
20+
<div class="topmenu">
21+
<div class="topbutton"><a href="index.html">Home</a></div> <div class="topbutton last"><a href="rates.html">Our Rates</a></div>
22+
</div>
23+
<div class="content">
24+
<h1>Operation Completed</h1>
25+
<p>Thanks for buying at Gold and Currencies Trader Inc</p>
26+
<p class="spaced"><a href="index.html">Back to the home page</a></p>
27+
</div>
28+
</div>
29+
</body>
30+
</html>

New/index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,19 @@
1313
<dd><span class="biggerfont">&nbsp;</span></dd>
1414
<dd><a href="xchange.html">Exchange Currencies</a></dd>
1515
<dd><a href="buyg.html">Buy Gold</a></dd>
16-
<dd><a href="http://www.nyse.com/" onclick="alert('add confirm');">Wall Street Official Site</a></dd>
16+
<dd><a href="http://www.nyse.com/">Visit the Wall Street Official Site</a></dd>
1717
</dl>
1818
</div>
1919
<div class="rightwrapper">
2020
<div class="topmenu">
2121
<div class="topbutton"><a href="index.html">Home</a></div> <div class="topbutton last"><a href="rates.html">Our Rates</a></div>
2222
</div>
2323
<div class="content">
24-
content
24+
<h1>Welcome to Gold and Currencies Trader Inc</h1>
25+
<p>We are trading, buying and selling currencies and gold pepites, with no commissions.</p>
26+
<p>Explore our services on the left menu, and get <a href="rates.html">our rates</a> from the top menu.</p>
27+
28+
<p class="spaced"><a href="promo.html">Get 10% off your next subscription to any W3C training course</a></p>
2529
</div>
2630
</div>
2731
</body>

New/javascript.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
/**
2-
*
3-
*/

New/promo.html

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Gold and Currencies Trader Inc</title>
6+
<link rel="stylesheet" type="text/css" href="style.css" />
7+
<script type="text/javascript" src="javascript.js"></script>
8+
</head>
9+
<body>
10+
<div class="leftmenu">
11+
<dl class="menulist">
12+
<dt>Menu</dt>
13+
<dd><span class="biggerfont">&nbsp;</span></dd>
14+
<dd><a href="xchange.html">Exchange Currencies</a></dd>
15+
<dd><a href="buyg.html">Buy Gold</a></dd>
16+
<dd><a href="http://www.nyse.com/">Visit the Wall Street Official Site</a></dd>
17+
</dl>
18+
</div>
19+
<div class="rightwrapper">
20+
<div class="topmenu">
21+
<div class="topbutton"><a href="index.html">Home</a></div> <div class="topbutton last"><a href="rates.html">Our Rates</a></div>
22+
</div>
23+
<div class="content">
24+
<h1>Promo</h1>
25+
<p>To get 10% off your next subscription to any W3C training course<br/>
26+
Provide the promotion code "W3C_Rules" during your next subscription.</p>
27+
28+
<p class="spaced"><a href="index.html">Back to the home page</a></p>
29+
</div>
30+
</div>
31+
</body>
32+
</html>

New/rates.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Gold and Currencies Trader Inc</title>
6+
<link rel="stylesheet" type="text/css" href="style.css" />
7+
<script type="text/javascript" src="javascript.js"></script>
8+
</head>
9+
<body>
10+
<div class="leftmenu">
11+
<dl class="menulist">
12+
<dt>Menu</dt>
13+
<dd><span class="biggerfont">&nbsp;</span></dd>
14+
<dd><a href="xchange.html">Exchange Currencies</a></dd>
15+
<dd><a href="buyg.html">Buy Gold</a></dd>
16+
<dd><a href="http://www.nyse.com/">Visit the Wall Street Official Site</a></dd>
17+
</dl>
18+
</div>
19+
<div class="rightwrapper">
20+
<div class="topmenu">
21+
<div class="topbutton"><a href="index.html">Home</a></div> <div class="topbutton last"><a href="rates.html">Our Rates</a></div>
22+
</div>
23+
<div class="content">
24+
<h1>Rates</h1>
25+
<dl class="ratelist">
26+
<dt>Euro</dt>
27+
<dd>1Euro = 1.50US$</dd>
28+
<dd>1Euro = 130Yens</dd>
29+
<dt>US$</dt>
30+
<dd>1US$ = 0.66Euro</dd>
31+
<dd>1US$ = 85Yens</dd>
32+
<dt>Yen</dt>
33+
<dd>1Yen = 0.008Euro</dd>
34+
<dd>1Yen = 0.012US$</dd>
35+
</dl>
36+
<p class="spaced"><a href="index.html">Back to the home page</a></p>
37+
</div>
38+
</div>
39+
</body>
40+
</html>

New/style.css

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
@CHARSET "UTF-8";
2-
/* General */
2+
33
body {
44
background-color:#FFEF99;
55
}
66
.biggerfont {
77
font-size:2em;
88
}
9-
/*Left menu*/
9+
1010
dl.menulist {
1111
margin:0px;
1212
}
@@ -30,14 +30,40 @@ dl.menulist * a {
3030
padding:0px;
3131
}
3232

33-
/*specific*/
34-
div.leftmenu, div.rightwrapper, div.topmenu, div.content {
33+
dl.ratelist dt{
34+
font-weight:bold;
35+
}
36+
dl.ratelist dd{
37+
margin-bottom:5px;
38+
}
39+
40+
41+
div.leftmenu, div.rightwrapper, div.topmenu, div.content, .leftbox, .rightbox {
3542
float:left;
3643
}
37-
div.leftmenu, div.rightwrapper {
44+
.leftmenu, .rightwrapper {
3845
margin:5px;
3946
}
4047

48+
.leftbox, .rightbox{
49+
margin-bottom:10px;
50+
}
51+
52+
.leftbox {
53+
width:100px;
54+
clear:left;
55+
font-weight:bold;
56+
}
57+
.leftbox a {
58+
font-weight:none;
59+
}
60+
.rightbox {
61+
font-weight:none;
62+
}
63+
.leftboxwide {
64+
width:150px;
65+
}
66+
4167
div.topmenu {
4268
margin-bottom:10px;
4369
}
@@ -65,4 +91,9 @@ div.topbutton * {
6591
color:#fff;
6692
margin:0px;
6793
padding:0px;
94+
}
95+
96+
p.spaced {
97+
margin-top:100px;
98+
clear:both;
6899
}

New/xchange.html

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Gold and Currencies Trader Inc</title>
6+
<link rel="stylesheet" type="text/css" href="style.css" />
7+
<script type="text/javascript" src="javascript.js"></script>
8+
</head>
9+
<body>
10+
<div class="leftmenu">
11+
<dl class="menulist">
12+
<dt>Menu</dt>
13+
<dd><span class="biggerfont">&nbsp;</span></dd>
14+
<dd><a href="xchange.html">Exchange Currencies</a></dd>
15+
<dd><a href="buyg.html">Buy Gold</a></dd>
16+
<dd><a href="http://www.nyse.com/">Visit the Wall Street Official Site</a></dd>
17+
</dl>
18+
</div>
19+
<div class="rightwrapper">
20+
<div class="topmenu">
21+
<div class="topbutton"><a href="index.html">Home</a></div> <div class="topbutton last"><a href="rates.html">Our Rates</a></div>
22+
</div>
23+
<div class="content">
24+
<h1>Exchange Currencies</h1>
25+
<form action="end.html">
26+
<label class="leftbox">Amount:</label>
27+
<input class="rightbox" type="text" size="10" autofocus="autofocus" autocomplete="off"/>
28+
<label class="leftbox">From:</label>
29+
<select class="rightbox" name="fromexchange">
30+
<option value="" selected="selected">Choose...</option>
31+
<option value="US">US$</option>
32+
<option value="Euro">Euro</option>
33+
<option value="Yens">Yens</option>
34+
</select>
35+
<label class="leftbox">To:</label>
36+
<select class="rightbox" name="toexchange">
37+
<option value="" selected="selected">Choose...</option>
38+
<option value="US">US$</option>
39+
<option value="Euro">Euro</option>
40+
<option value="Yens">Yens</option>
41+
</select>
42+
<label class="leftbox"><a href="index.html">Cancel</a></label>
43+
<input class="rightbox" type="submit" value="Proceed"/>
44+
</form>
45+
</div>
46+
</div>
47+
</body>
48+
</html>

0 commit comments

Comments
 (0)