html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<title>Testing For Javascript</title>
<link rel="stylesheet" href="style_copia.css">
<link href="https://fonts.googleapis.com/css?family=Cinzel|Patrick+Hand&display=swap" rel="stylesheet">
</head>
<body>
<div id="title">
<p>My personal test on Java</p>
</div>
<div id="description">
<p>Some one could help me??<p>
<p>I would put on the result id the sum of the weight and the price, but i can't do it!!!<p>
</div>
<div id="second_title">
<p>MALT</p>
</div>
<div id="button_malt">
<button id="button" onclick="addMalt1()">Add Malt</button>
<p id="Malt1">----</p>
</div>
<div id="button_malt_weight">
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
body {
background-color: green;
}
#title {
width: 100%;
padding: 0.5em;
color: red;
font-size: 40pt;
text-align: center;
font-family: 'Cinzel', serif;
font-weight: 800;
}
#second_title {
width:100%;
padding: 0.5em;
color: yellow;
font-size: 30pt;
text-align: center;
font-family: 'Cinzel', serif;
float:left;
height: 100px;
}
#description {
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run