via online money

Kamis, 20 Desember 2018

KUBUS TUGAS 2

Tugas 2

Nama:DHEO YARED ASSELT
Kelas:12.5C.11
Nim:12164624


Source code:

<?php
$teks1 = "Belajar Menghitung";
$teks2 = " . ";
$teks3 = "Volume Kubus";
$hasil = $teks1 . $teks2 . $teks3;
echo "$hasil";
$sisi=20;
$volume=$sisi;
echo"<br>Panjang Sisi Kubus = $volume<br>\n";
$Volume= $sisi * $sisi * $sisi;
echo "Volume Kubus = $Volume Kubus cm3";
?>

Kamis, 27 September 2018

<!DOCTYPE html>
<html>
<head>
    <title>Daftar Produk </title>
</head>
<body>
<body background = "index.jpg">
<center>
<h1><marquee width="50%" bgcolor="ffffff" text="#000000">
WELCOME TO MY STORE</marquee></h1>
<table border="1" width="50%" cellspacing="5" cellpadding="5">
<tr>
<h2>
    <th bgcolor="00CCFF" colspan="4">DAFTAR PRODUK</th>
</tr>
<tr>
    <th rowspan="4">
    <img src="asuz.jpg" width="150px"/>
    </th>
</tr>
    <td bgcolor="44ff48" colspan="2">Nama Produk</td>
    <td bgcolor="ebe3eb">Asus ROG</td>
</tr>
<tr>
    <td bgcolor="f2e25e" colspan="2">Harga</td>
    <td bgcolor="f441dd">Rp 12,899,000</td>
</tr>
<tr>
    <td bgcolor="efa4b7" colspan="2">Fitur Produk
    <td bgcolor="31aedc"> *Kamera mirroless<br>
    *Efektifitas Piksel : 10 MP<br>
    *Tipe Sensor : Snapdragon 6<br>
    *Layar : 9.0 Inch<br>
    *Memiliki lampu flash dengan jarak jangkauan hingga 5 meter</td>
</tr>
</table>
</body>