Created
August 15, 2014 01:02
-
-
Save pembeci/35e4b7b84de48954b014 to your computer and use it in GitHub Desktop.
deneme // source http://jsbin.com/gesema/2
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> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<meta name="description" content="deneme" /> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
a { | |
background-color: lightblue; | |
color: maroon; | |
text-decoration: none; | |
} | |
.selected { | |
font-weight: bold; | |
font-size: 120%; | |
background-color: green; | |
text-align: right; | |
} | |
</style> | |
</head> | |
<body bgcolor="pink"> | |
Deneme 1 2 3 | |
<p>Paragraph 1</p> | |
cdcdfvdf <a>gfbgf</a> | |
vbfggf<br/> | |
<a href="http://mu.edu.tr">bgfbgf</a> | |
bgfbgf | |
bgfbgf | |
<p>Paragraph 2</p> | |
dfvfdv | |
<p>Paragraph 3</p> | |
<script id="jsbin-javascript"> | |
$("p").click(function(){ | |
// alert("clicked"); | |
$(this).css("border", "3px solid gray"); | |
$("p").removeClass("selected"); | |
$(this).addClass("selected"); | |
}); | |
for (i=1; i<=20; i++) { | |
document.writeln("2^" + i + " = " + Math.pow(2,i) + "<br>") ; | |
} | |
</script> | |
</body> | |
</html> |
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
a { | |
background-color: lightblue; | |
color: maroon; | |
text-decoration: none; | |
} | |
.selected { | |
font-weight: bold; | |
font-size: 120%; | |
background-color: green; | |
text-align: right; | |
} |
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
$("p").click(function(){ | |
// alert("clicked"); | |
$(this).css("border", "3px solid gray"); | |
$("p").removeClass("selected"); | |
$(this).addClass("selected"); | |
}); | |
for (i=1; i<=20; i++) { | |
document.writeln("2^" + i + " = " + Math.pow(2,i) + "<br>") ; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment