This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nesne Özellik | Nesne Davranış | |
kedi renk | kedi uyumak() | |
insan boy | insan yürümek() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object class > Cat class > (inheritance) Van Kedisi class, Mavi Rus Kedisi class, Fars Kedisi class | |
Object class > Car class > (inheritance) Mercedes class, Audi Kedisi class, Renault class | |
Object class > Human class > ... | |
Object class > Tree class > ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Ping Pong With Javascript</title> | |
<style type="text/css"> | |
@import'main.css'; | |
</style> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Ping Pong With Javascript</title> | |
<style type="text/css"> | |
@import'main.css'; | |
@import'reset.css'; | |
</style> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*oyun alanı özellikleri*/ | |
#gameArea{ | |
width: 100%; | |
height: 100%; | |
background-color: #845ec2; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, body{ | |
height: 100%; | |
} | |
/*oyun alanı özellikleri*/ | |
#gameArea{ | |
width: 100%; | |
height: 100%; | |
background-color: #845ec2; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*çubuk özellikleri*/ | |
.stick{ | |
width: 12px; | |
height: 85px; | |
background-color: #b25b00; | |
position: absolute; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#stickLeft{ | |
left: 0; | |
} | |
#stickRight{ | |
right: 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*top özellikleri*/ | |
#ball{ | |
width: 16px; | |
height: 16px; | |
background-color: #b25b00; | |
border-radius: 50%; | |
position: absolute; | |
top: 50%; /*seçici stilini görmek için farazi değer*/ | |
left: 40%; /*seçici stilini görmek için farazi değer*/ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*çizgi özellikleri*/ | |
#line{ | |
width: 0; | |
height: 99%; | |
border: 1px dashed #b25b00; | |
position: absolute; | |
left: 50%; | |
} |
OlderNewer