Friday, 25 December 2015

Tshoot jaringan komputer

if user can't go to a website, then
{
a = ping 8.8.8.8
}

if a=="True" then
{

}
 

Bisakah begini?

<script>
<script src="http://8.8.8.8//">

</script>

Thursday, 24 December 2015

Musik dan perpaduan 2 atau lebih not

Not adalah frekuensi
Suatu Not jika dimainkan bersama dengan Not lain menghasilkan nada yang harmonik/tidak harmonik atau bahkan menghasilkan noise.

sin (-i) = - sin (i) dibaca nilai sin -i sama dengan nilai minus dari nilai sin i.
gelombang sinusoidal fluktuasi tinggi rendah suatu signal di suatu titik. Kesimpulan ini diambil/ditarik dari pengamatan percobaan dawai gitar.
Piano atau gitar bisa dijadikan sebagai alat simulator pemaduan dua buah frekuensi atau lebih.

Cara membuat grafik fungsi

Algoritmanya adalah:
1. Menggambar garis x
2. Gambar garis y
3. Defenisikan pasangan-titik koordinat (x1,y1) untuk/dari garis x
- Mentukan pasangan titik (x2,y2) untuk/dari garis x
- Menggaris dari pasangan titik koordinat (x1,y1) ke pasangan titik (x2,y2)
5. Mentukan titik x1,y1 untuk/dari garis y
6. Mentukan titik x2,y2 untuk/dari garis y
7. Masukkan kedalam variabel y[i] nilai dari hasil fungsi sin (i) a.k.a dalam hal small basic adalah fungsi: math.sin(i)
8. Gambarkan pasangan-hasil i,y[i] di jendela grafik Small Basic dengan memakai fungsi: shapes.addcircle(i,y[i])

Apa WinAPI itu?

Windows.h is the main header file for WinAPI.

WinAPI is anything and everything related to programming on Windows. Anything that involves window creation/management or communication with the OS or filesystem.

Things like:
- Creating Windows
- Basic graphical capabilities (WinGDI)
- Enumerating files in a directory
- Popping up common dialog boxes ("Save As" dialog, "Pick a color" dialog, etc)
- Querying information about the system (like running processes, etc)
- etc
- etc

The list goes on and on. WinAPI is huge.

Kalau mau dipakai di deklarasikan dulu.
<p id = "parkinglot"></p>
<script>
text = "";
for (i=0;i<=2;i++)
{
text = text + "<input type ='text' id='mytext-" + i + " '/>"
}
document.getElementById("parkinglot").innerHTML = text;
</script>

Wednesday, 23 December 2015

Bagaimana menge-set input type form?


Ini hanya different approach. Konsepnya seperti ini:
1. Menggunakan innerHTML.
2. Menggunakan suatu variabel.
3. Kemudian, menumpuk semua elemen HTML kedalam variabel itu.

Ok, sekarang saatnya contoh:
1. text = ""
<input type="text" id="text" + i / >
2.
 

Kak bagaimana sih cara membuat loop For

This is just different approach. Ini merupakan metode lainnya.

Pertama (1), define task yang mau dilakukan. Contoh: alert ("Bento");
Kedua (2), define berapa banyak task diatas hendak/mau dilakukan/dikerjakan. Contohnya 3 kali: for (i=1;i<=3;i++){}
Ketiga (3), insert / sisipkan task dari poin pertama (1) diantara kurung kurawal poin kedua (2)
for (i=1;i<=3;i++)
{
alert ("Bento");
}
Keempat (4), perhatikan variabel i nya yang menjadi variabel iterator.

Kak bagaimana cara mengubah style dari suatu element html dari javascript?

Gampang.
1st. define element kamu
<input type="text">
2nd define id pada/untuk element kamu hasil dari poin 1.
<input type="text" id="mytext" />
3rd. Javascript
3rd 1st. Finding an element dan deklarasikan kedalam variabel.
var myvariabel = document.getElementbyId("mytext")
3rd 2nd. Target properti yang ingin kamu ubah, misalnya 2 properti dibawah ini:
myobject.value = "Peace upon the earth";
myobject.style.color = "Blue";
Full script dibawah ini:
<input type="text" id="mytext" />

<script>
var myobject = document.getElementById("mytext")
myobject.value = "Peace upon the earth";
myobject.style.color = "Blue"

</script>
Bekerja untuk orang lain kita lebih kuat.
Tapi bekerja untuk diri sendiri kita jahat.

Musik

Kak komponen dasar musik apa aja sih?
Komponen dasar musik adalah not dan interval.

Contoh:
Reggae = 

Tuesday, 22 December 2015

Kak apa saja yang ditemukan dalam proses produksi

Hal-hal ini yang bisa gw catet:
1. Ide
2. Mencari cara mengerjakannya di pikiran
2. Mencari cara mengindahkannya: pewarnaan, tata letak
2. Menambahkan fitur-fitur tambahan yang secara tidak sengaja ditemukan selama proses pengerjaan
2. Menentukan judul program
3. Menentukan tujuan dasar program
3. Mencari tempat / lingkungan yang enak untuk mengerjakan
3. Membuat diskusi / bertanya
3. Mulai mengerjakan
2. Mengerjakan ulang / coding ulang
3. Coding simplifikasi dari suatu problem/masalah
4. Mencoba program lain (mencari hiburan)
5. Mencari inspirasi / pencerahan dari buku atau sumber lain.
6. Mencari pengalihan jika mentok
7. Tidur / istirahat atau mendengarkan musik
8. Bersenang-senang jika projek sudah selesai
9. Mencari cara menyerah atau mengundurkan diri
9. Mencari cara untuk menyalahkan orang lain
10. Menghitung atau menentukan lama pengerjaan
11. Memprediksi keuntungan pengerjaan

Kak apa aja yang dibutuhkan untuk membuat kamus online?

Oh basicnya:
1. Array, yang multidimensi array ya.
2. Pair value; pasangan nilai.
3. Graphical User Interface (GUI)

Kak bagaimana sih?

Oh gini, dek:
<div id = 'header' style : 'border: 1px solid'> </div>
Misalkan:
a = "<div id = ' "
b = header
c = "style

Monday, 21 December 2015

Jadi kamu bisa menggunakan array untuk array lainnya.
Array untuk menyimpan keterangan / deskripsi.

Nilai array boomerang pada index 0 adalah "Boomerang1".
1. Mengaliri satu resistor dengan arus listrik

2. Mengaliri dua buah resistor dengan arus listrik

3. Mengaliri sebuah speaker dengan arus listrik

4. Mengaliri sebuah microphone dengan arus listrik

5. Mengaliri sebuah LED dengan arus listrik

6. Mengaliri sebuah 7-segment LED dengan arus listrik

Sunday, 20 December 2015

Kak tips membaca itu bagaimana?

Kalau menurut kakak sih membaca itu per titik / per satu kalimat. Kemudian telusuri sampai ketemu kata yang mengerti.

Don't: Jangan baca per kata ataupun per suku kata. Karena akan lama dan sulit.

Kak gimana cara konversi string to number atau integer?

Gampang. Pakai fungsi Number(). Misalnya gini nih:
<script>
var x = "21";
x = Number(x);
alert(x);
//Now, try to add x and something
x = x + 21;
alert(x);
</script>

Kak bagaimana cara algoritma penyusunan sebuah array berdasarkan informasi yang ada di array yang lain?

Misalnya
<script>
var x = ['Tokyo', 'London','Kuala lumpur', 'Paris', 'Jakarta']
var y = ['Asia','Eropa','Asia','Eropa','Asia'];
var i = 0;
var j = 0;
var k = 0;
var l = 0;
var cityasia = [];
var cityeropa = [];
var citiesrearrange = [];

//Jadi yang pertama dilakukan menelusuri variabel y untuk mencari yang mana Asia dan yang mana Eropa.
//Pendaftaran dan mengeluarkan/memisahkan kota Asia dan Eropa
for (i = 0; i <= y.length - 1;i++)
{
if (y[i] == "Asia"){cityasia[j] = x[i]; j = j + 1;}
else if(y[i] = "Eropa"){cityeropa[k] = x[i]; k = k + 1;}
}
alert(cityasia);
alert(cityeropa);

//penyusunan ulang
for (i=0; i <= cityasia.length - 1; i ++)
{
citiesrearrange[l] = cityasia[i];
l = l + 1;
}
for (i=0; i <= cityeropa.length - 1; i ++)
{
citiesrearrange[l] = cityeropa[i];
l = l + 1;
}
alert("Kota sebelum disusun ulang: " + x);
alert("Kota setelah disusun ulang: " + citiesrearrange);

</script>

Tuesday, 15 December 2015

Kak, algoritma menelusuri sebuah array untuk mencari sebuah nilai yang kita inginkan/mau bagaimana?

Ini caranya:
<script>
var reference= prompt("Whats the value you are looking for? ");
var x = ['0','0','1','2'];
for (i = 0; i <= x.length; i++)
{
if (reference == x[i])//Dibaca: jika kata/nilai yang mau dicari sama dengan isi nilai x ke-i, maka:
{
   
    i = x.length; //Ini gw sebut quitter. Pembuat quit loop secara langsung jika sudah ketemu nilai yang sama dengan cara meng-increment variabel iterator (dalam hal ini variabel i) ke nilai maks, hence, i = 3, Untuk mempercepat keputusan. "Kalau sudah ketemu gadis yang cocok, jangan lama-lama; langsung bilang sudah ketemu, jangan coba kenal yang lain lagi yang tersisa di populasi suatu tempat/daerah misal, nanti keputusanmu jadi lama."
    alert("There is an element like you looking in X");

}
else
{
if (i == x.length) //Dibaca: jika nomor kamar sudah diujung, maka:
{

alert("There is no element like you looking in X");

}
}
}
</script>

Kak kalau mau mengoutputkan isi elemen array harus pakai looping dulu ya?

Gak perlu dek. Cukup pakai command/perintah: alert(namaarraykamu). Seperti berikut ini:
<script>
var x = ['0','0','1','2'];
alert(x);
</script>

Beres dah..

Kak array multi dimensi itu bisa ya di javascript?

Bisa dek. Caranya seperti biasa. Deklarasikan terlebih dahulu: var bukutelepon = ['Andi','0217654321']

Ini most simplisticnya dek:
var cols = [];
var rows= 10;
for (var i  = 0; i < rows; i++){
     cols[i] = [];
}

Monday, 14 December 2015

Kak pernah nyoba storage management a.k.a analogi 'Loker'?

Pernah.
Komponen basic-nya:
1. Jumlah loker a.k.a jumlah slot loker
2. Nomor loker
3. Kertas nomor loker
4. Pemberi kertas nomor loker a.k.a pengoperasi loker a.k.a operator.
5. Penerima kertas nomor loker a.k.a penyimpan barang.

Pada pagi hari penjaga loker disaat memulai kerja, menyusun ulang nomor loker dari 1 sampai jumlah loker. Kemudian membagi nomor loker kepada penyimpan barang. Terhadap pengembalian barang, penjaga loker

Sunday, 13 December 2015

Kak error-error apa aja sih yang kakak temuin selama bikin aplikasi web?

1. Reference error, misal:
ReferenceError: linking is not defined
2.
Error in parsing value for 'margin'.  Declaration dropped.
3. TypeError: divchildren[i].indexOf is not a function
4.  SyntaxError: unterminated string literal
5. SyntaxError: missing } in compound statement
Yang ini karna for nya lupa ditutup.
6. SyntaxError: expected expression, got keyword 'else'

Harus diberanikan diri melawan hantu-hantu.

Kak apa sih akselerasi itu?

Akselerasi adalah kecepatan seberapa cepat dari kecepatan v=0m/s sampai v=120m/s dalam waktu berapa detik?
Contoh:
Mobil kamu habis wreck, dari 0 m/s sampai 80 m/s, dalam waktu 3 detik. Berapa kah akselerasi mobil kamu?

How to drift?

1. Steer right or steer left
2. Press Brake

Kak bagaimana mengambil teks/string dibelakang sesuatu?

Gampang. Misalkan string adalah: mystring = "Mercusuar, oh mercusuar"; dan deklarasikan sebagai berikut: var mystring = "Mercusuar, oh mercusuar";

Pertama cari dulu panjang dari string itu (jumlah banyak karakternya): mystring.length, simpan di x dan deklarasikan:
var x = mystring.length;

Kemudian, cari dimana letak "," dengan command: mystring.indexOf(","), simpan di y dan deklarasikan:
var y = mystring.indexOf(",");.

Kemudian, ketiga slice. Slice/iris dari letak "," ditambah 1 atau +1 hingga/sampai/dengan tujuan ujung/akhir string/text dengan perintah seperti berikut: mystring.slice(y,x+1), dan simpan di z dan deklarasikan:  
var z=mystring.slice(y,x+1);
Terakhir outputkan hasilnya pada alert:
alert(z);

Hasilnya berikut:
Hasil Output
 

Kak apa saja yang kamu sebut pilihan?

Kalau aku sih bilang pilihan itu ada
1. Pilihan 2 pilihan, hanya boleh pilih satu: <radio></radio>
2. Pilihan 2 pilihan, boleh pilih dua:
3. Pilihan > 2 pilihan, hanya boleh pilih satu: pakai <select></select>
4. Pilihan lebih besar dari 2, hanya boleh pilih satu: pakai <></<

Saturday, 12 December 2015

Kak apa saja yang pernah kamu kerjakan pada Array?

1. Menghitung jumlah elemen dari array
2. Mencari index kemunculan suatu nilai
3. Menghitung jumlah kemunculan suatu nilai
4. Memindahkan sebagian nilai ke array a.k.a penampung lain a.k.a transfer

Kak gimana sih bikin cara menghitung elemen array?

Gampang. Gini nih algoritmanya:


<body>
var x=["senin", "selasa", "rabu", "kamis", "jumat", "sabtu", "minggu"];
<script>
var i=0;
var x=["senin", "selasa", "rabu", "kamis", "jumat", "sabtu", "minggu"];
while (x[i] != undefined)
{
alert(x[i]);
i = i + 1;
}
alert(i);
</script>
</body>

Friday, 11 December 2015

Kak bagaimana sih membuat login page?

Gampang. Gini nih caranya:

<body>
Enter your username: <input type="text" id="myusername" />
Enter your password: <input type="password" id="mypassword" />
<input type="button" value="submit" onclick="check()"/>

<script>
function check(){
theusername = document.getElementById("myusername").value
thepassword = document.getElementById("mypassword").value

if (theusername == "Anggota")
{
if (thepassword == "PasswordAnggota")
{
alert("Your account is verified");
document.write("<!DOCTYPE html><head><title>Welcome to mysite</title></head><body><div id='mypictures' style='background-image: '>Hello World!</body>")
}
alert("Your password is wrong!");
}
}
</script>
</body>

Kak sebenernya absolute positioning itu buat apa sih?

Absolute positioning itu buat menempatkan atau meletakkan div kamu dimana pun kamu suka/inginkan. Tapi, ingat harus menggunakan margin top, margin right, margin bottom, sama margin left buat nentuin posisinya. Contoh sebagai berikut:

<div id="keren" style="position:absolute;margin:50px 50px 50px 50px;">
Ada juga skill seperti berikut: margin : auto.

Kak sebenernya margin itu buat apa sih?

Margin itu membuat ruang atau space antara 1 div dengan div lainnya.

Thursday, 10 December 2015

Cisco: Kak bagaimana sih cara supaya user 'dalem' bisa internetan?

Gampang. Pertama, kita pasti menggunakan ip nat inside. Trus kedua, kita harus tahu address/alamat IP publik kita, kalau gak tahu, bisa menggunakan interface,

Contoh:
Config# ip nat inside source list 101

Kak bagaimana sih cara supaya nilai select bisa diambil?

Pertama, define select-option nya dan id bagi select-nya.

<select id="myselect">
<option value="BMW">BMW</option>
<option value="Toyota">Toyota</option>
</select>


Kemudian, define script javascriptnya, dan deklarasi/define variabel penampungnya.Di bawah ini:
<script>
var mycar;
mycar = document.getElementById("myselect").value

</script>

Kak bagaimana sih cara mena

Cara yang gua tau sih harus ditampung dulu ke suatu variabel, baru kemudian di terapkan ke suatu paragraph.

Kayak gini:
var text="";

for (i=0; i <= hh ; i ++)
{
text = text + "<p>Hello</p>" ;
alert(text);
}
document.getElementById("myparagraph").innerHTML = text;

Wednesday, 9 December 2015

1. Change a text to strong
Answer: <strong>Text goes here </strong>

2. Put basic 3 lines into blank html
Answer:
<!DOCTYPE html>
<head>
This my text like.
</head>

3. Between the <head> tags, add in an opening <title> tag and closing </title> tag and Between the <title> tags, write in a title for your page. For example, "My Webpage."
Answer:

<!DOCTYPE html>
<head>
<title>This my title</title>
</head>

4. Underneath the closing </head> tag, put an opening <body> tag and a closing </body> tag, like in the example above.
Answer:
<!DOCTYPE html>
<head>
<title>This my title</title>
</head>
<body>
</body>

5. Inside the body, create two paragraphs. Each paragraph starts with an opening <p> tag and ends with a closing </p> tag. We can write content in between the tags.
Answer:
<!DOCTYPE html>
<head>
<title>This my title</title>
</head>
<body>
<p>Hello World!</p>
</body>

6. In the body section, create a heading. To do this, create an <h1> tag. Close the element with a closing tag </h1>. (Your content should now be between <h1> and </h1>.)
Answer:


7. Underneath the heading tags, create two paragraphs using <p> tags with whatever content you like.

HTML & CSS: Hey whats the difference between width using % and using pixel?

Hey whats the difference between width using % and using pixel?
Answer:

HTML & CSS: There are 2 types making link/Navigation

1. Using list
<ul>
<li><a href="http://www.facebook.com">News</a></li>
<li><a href="http://www.google.com">Sport</a></li>
</ul>


2. or not using list a.k.a directly
<a href="http://www.facebook.com">News</a>
<a href="http://www.google.com">Sport</a>

This one can be easily modified.

Three things you need to do with link

1. Text-decoration
2. When visited
3. When not-visited
4. When expired
5.

Great Personality

Great personality is not like Samson. Samson is defeated by Delilah.

Tuesday, 8 December 2015

Algorithm to web design

1. Adding Divs

Switchable steps:
2. Adding border
div {
border: 1px solid hotpink;
}
3. Adding background color
4. Adding paragraph example
5. Adding width
6. Adding height
7. Adding float
8. Adding clear
9. Adding position
10. Adding margin to div except div footer

/* Remember that you already have 4 div: header div, left, right and footer. */
/* CSS code begin here */
/* Hey, please global first */
div {
border-radius: 1px;
background-color: hotpink;
}
/* <selector> { <style-style-style> } */
/* id is kress(#). Class is dot(.) */
#header {
border: 1px solid green;
height:10%;
position: relative;
}
.left {
border: 1px solid blue;
position: relative;
width: 10%;
height: 80%;
float:left;
margin-top:10px;
margin-bottom:10px;
}
.right {
border: 1px solid yellow;
position:relative;
width:89%;
height:80%;
float:right;
margin-top:10px;
margin-bottom:10px;
}
#footer {
border: 1px solid red;
position:relative;
width:100%;
height:10%;
clear:both;
}

<head>
<link type="text/css" href="mystylesheet.css" rel="stylesheet" />
</head>
<body>
<!--- We can use 2 types of naming upon a tag (for i.e. "div"): using 'id' and using 'class'--->
<div id="header"><p>This is header</p></div>
<div class="left"><p>This is left</p></div>
<div class="right">This is right</div>
<div id="footer">This is footer</div>
</body>

11. Adding content to each div. I mean replace the point (4) result.

Dealing with link
12. Adding list using external javascript
Method/Type 1:
document.getElementById("links").innerHTML = "<ul id='menu'>" +
"<li><a href='http://www.google.com'>News</a></li>"+
"<li><a href='http://www.yahoo.com'>Sports</a></li>"+
"</ul>";


Type 2:


13.
14. Manipulate the link styles point (12)
- text-decoration
- when not visited
- when visited
- when hover
14.

CSS positioning: Static, Absolute, Relative and Fixed

Static If you don't specify an element's positioning type, it defaults to static. This just means "where the element would normally go." If you don't tell an element how to position itself, it just plunks itself down in the document.

Absolute If the parent not go static, then the absolute position div is according to left.
The first type of positioning is absolute positioning. When an element is set to position: absolute, it's then positioned in relation to the first parent element it has that doesn't have position: static. If there's no such element, the element with position: absolute gets positioned relative to <html>.

To show you how this works, we've set the #outer div to have absolute positioning. This means that when you position the #inner div, it will be relative to #outer. (If #outer had the default positioning of static, then #inner would get positioned relative to the entire HTML document.)

Relative positioning is more straightforward: it tells the element to move relative to where it would have landed if it just had the default static positioning.

Finally, fixed positioning anchors an element to the browser window—you can think of it as gluing the element to the screen. If you scroll up and down, the fixed element stays put even as other elements scroll past.

Static positioning tergantung normally flow.
Absolute positioning tergantung parent.
Relative tergantung static positioning.
Fixed positioning tergantung posisi awal, scroll ke bawah tetap sama.

Seneng banget kalau menuruti perintah kita.

Monday, 7 December 2015

1. Selectors
2. Classes/IDs
3. Margins
4. Paddings
5. Border
6. Position

1. Create 4 divs. One for the header, one for the left column, one for the right column, and one for the footer. So, create 4 divs:
Answer:
<body>
<div id="header"></div>
     <div class="left"></div>
     <div class="right"></div>
     <div id="footer"></div>
</div>
</body>


2. Create border-radius each of div
Answer:
div {
border-radius: 5px;
}

3. Give your divs a height, weight and background-color. Add dimension and color to our divs.
header
{
weight:  ;
height: ;

}


Saturday, 5 December 2015

By default

Margin-top is:
Margin-bottom is:
Padding-top is:
Padding-bottom is:
width:
height:

Natrium can live harmony with Clorine.
Targetting
Styling
Positioning

Hard to remember Word and Number?

Word?
Try this for instances Nemesis
Backward it: sisemeN

Try this for instances Nefarious
Backward it: souirafeN


Number?
Two digit number:
29
Try to convert it to word, for i.e: 29 is RG or ZG

Three digit number:
781
Try to covert it to word, for i.e: 781 is TBI

Friday, 4 December 2015

Linux/Unix Command Line

Go/navigate filesystem

1. Print all working directory
$ pwd
/home/ccuser/workspace

2. Lists all files & folder in the current working directory
$ ls
2014  2015  hardware.txt   
By default ls list all files & folder in the current working directory alphabetically.

3. Switches into any directory that you specify, in this case directory "2015".
$ cd 2015

4. Move up one directory from current working dir
$ cd ..

5. Create one directory, in the current working dir, in this case directory "media"
$ mkdir media                 

6. Create "empty" file in current working directory
$ touch keyboard.txt

Copy, moves and delete files

1. Listing files that hidden
$ ls -a

2. Listing files & folder in tables / long format.
$ ls -l

3. Listing files $ folders in time manner
$ ls -t

4. Copying a file or files
$ cp * superman/

$ cp superman



5. Delete a file
$ rm waterboy.txt

delete a folder (recursive)
$ rm -r slapstick

Redirection

Redirect an input

Redirect an output
$ echo "Hello"

Redirect an output to text file (>)
$ echo "Hello" > hello.txt
and then:
$ cat hello.txt

example(2):
$ cat oceans.txt > continents.txt
Warning: > will overwrite all original content inside continents.txt

example(3) append:
$ cat glaciers.txt >> rivers.txt
>> will take the standard output of the command on the left and appends (adds) it to the file on the right.

Here, the the output data of rivers.txt will contain the original contents of rivers.txt with the content of glaciers.txt appended to it.

example(4)
$

Codecademy.CSS.Session2

1. Make the <h3> color #cc6666 and the <h2> color #8a2be2
Answer:
h3 {
color: #cc6666;
}
h2{
color: #8a2be2;
}
2. Use emphasize (em) or font-size
3. Set the font-family of the <h1> header to serif, <h2> to sans-serif, <h3> to cursive.
Answer:
h1 {
font-family: Serif;
}
h2 {
font-family: Sans-serif;
}
h3 {
font-family: Cursive;
}
4. Set backup value of h1 times as an option before serif, set backup value of h2 verdana as an option before sans-serif,
h1 {
font-family: Times, Serif;
}
h2 {
font-family: Verdana, Sans-serif;
}

5. Set div's background-color to #cc0000
Set height's to 100px
Set width to 100px
Answer:
div {
background-color: #cc0000;
height: 100px;
width: 100px;
}
6. Table: set tds's height to 50px. Give your tds a border of 1 px dashed blue. Give your table a border of 1px solid black.
Answer:
td {
height: 50px;
border: 1px dashed blue;
}
table {
border: 1px solid black;
}
7. Give your a selector a color of #cc0000 and a text-decoration of none.
Answer:
a {
color: #cc0000;
text-decoration: none;
}
8. Add a pair of <h1></h1> tags inside the body of our HTML page. Your h1 header can say anything you want!
Then, on the CSS tab, make its font-family to Verdana and its color to #576D94.
Add a pair of <p></p> tags below your h1 header and set the font-size to 18px and its color to #4a4943
Answer:
h1 {
   
font-family:Verdana;
   
color:#576D94;
}
p {
   
font-size: 18px;
   
color: #4a4943;
}

9. Set the p font-family to Garamond and set a backup font of Serif. Give h1 a backup font of sans-serif.
Answer:
p {
font-family: Garamond,Serif;
}
h1 {
font-family: Verdana, Sans-serif;
}

10. Add an image and set its width and height to 300px and 100px and give your image of 1px solid #4682b4
Answer:
In index.html
<img src="http://bit.ly/NnVbxt">
In stylesheet.css
img
{
width: 300px;
height: 100px;
border: 1px solid #4682b4;
}
11. Add a link using <a href="url">Link text</a> into your HTML page and set link's text-decoration to none and its color
to #cc0000.
<a href="http://www.codecademy.com"></a>
Add this in the stylesheet.css
a {
text-decoration:none;
color:#cc0000;
}