Ini adalah daftar materi tentang Frontend untuk menunjang belajar kalian.
Pastikan kalian pelajari terlebih dahulu sebelum masuk kelas, agar mempermudah aktifitas belajar kita.
Selamat belajar!
{ | |
total: 28, | |
data: [ | |
{ name: 'PDIP', value: 10 }, | |
{ name: 'Golkar', value: 8 }, | |
{ name: 'PKB', value: 7 }, | |
{ name: 'Gerindra', value: 4 }, | |
{ name: 'PKS', value: 2 }, | |
{ name: 'Demokrat', value: 1 }, | |
{ name: 'Nasdem', value: 1 }, |
[ | |
{ | |
"id": "11", | |
"name": "Aceh", | |
"alt_name": "ACEH", | |
"latitude": 4.684086348992826, | |
"longitude": 96.71137522456142, | |
"number": 12 | |
}, | |
{ |
[ | |
{ | |
"id": 1, | |
"isbn": "B-001", | |
"title": "Javascript Programming", | |
"publisher": "Publisher 1", | |
"writer": "Writer 1" | |
}, | |
{ | |
"id": 2, |
-- Ini query untuk bla bla bla | |
SELECT * FROM articles; | |
-- Ini query untuk bla bla bla | |
SELECT * FROM articles ORDER BY id ASC; |
// deklrasi variabel & inputan | |
let number = prompt("masukkan angka ?"); | |
// cek, jika bukan number && number >= 0 (tidak minus) | |
if (!isNaN(number) && number >= 0) { | |
// cek, jika number di modulus 2 == 0 | |
if (number % 2 === 0) { | |
console.log("Genap"); // maka genap | |
} else { | |
console.log("Ganjil"); // maka ganjil |
<?php | |
// Generated by curl-to-PHP: http://incarnate.github.io/curl-to-php/ | |
$name = $order->get_formatted_billing_full_name(); | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, 'https://hooks.slack.com/services/ss/x/x'); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
curl_setopt($ch, CURLOPT_POST, 1); | |
// curl_setopt($ch, CURLOPT_POSTFIELDS, "{\"text\":\"@here Ada 1 Order Nih\"}"); |
version: "3" | |
services: | |
djangoapp: | |
build: . | |
ports: | |
- "5000:5000" | |
volumes: | |
- ./project:/app |