Added About us page, Changed some things with damage calculation, changed some things with links, Changed some HTML Code.
This commit is contained in:
+9
-10
@@ -13,15 +13,14 @@ function populateTable(data) {
|
||||
const row = table.insertRow();
|
||||
row.insertCell(0).innerText = gun.id;
|
||||
row.insertCell(1).innerText = gun.name;
|
||||
row.insertCell(2).innerText = gun.damage;
|
||||
row.insertCell(3).innerText = gun.damage_multiplier;
|
||||
row.insertCell(4).innerText = gun.rpm;
|
||||
row.insertCell(5).innerText = gun.mag_size;
|
||||
row.insertCell(6).innerText = gun.reload_time;
|
||||
row.insertCell(7).innerText = gun.guntype;
|
||||
row.insertCell(8).innerText = gun.rps.toFixed(2);
|
||||
row.insertCell(9).innerText = gun.dps.toFixed(2);
|
||||
row.insertCell(10).innerText = gun.dpm.toFixed(2);
|
||||
row.insertCell(11).innerText = gun.avg_dps.toFixed(2);
|
||||
row.insertCell(2).innerText = gun.total_damage;
|
||||
row.insertCell(3).innerText = gun.rpm;
|
||||
row.insertCell(4).innerText = gun.mag_size;
|
||||
row.insertCell(5).innerText = gun.reload_time;
|
||||
row.insertCell(6).innerText = gun.guntype;
|
||||
row.insertCell(7).innerText = gun.rps.toFixed(2);
|
||||
row.insertCell(8).innerText = gun.dps.toFixed(2);
|
||||
row.insertCell(9).innerText = gun.dpm.toFixed(2);
|
||||
row.insertCell(10).innerText = gun.avg_dps.toFixed(2);
|
||||
});
|
||||
}
|
||||
+7
-1
@@ -7,6 +7,7 @@ body {
|
||||
z-index: -1; /* Send the background behind the content */
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 20px;
|
||||
width: 100%
|
||||
}
|
||||
|
||||
header nav {
|
||||
@@ -114,7 +115,7 @@ nav {
|
||||
/* Add a black background color to the top navigation */
|
||||
.topnav {
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
right: 50px;
|
||||
top: 10px;
|
||||
background-color: #333;
|
||||
overflow: visible; /* Ensure dropdown content isn't clipped */
|
||||
@@ -209,3 +210,8 @@ nav {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.about_us_text{
|
||||
font-size: 20px;
|
||||
width: 50%;
|
||||
}
|
||||
Reference in New Issue
Block a user