Last active
August 29, 2015 13:57
-
-
Save nextechu/9863697 to your computer and use it in GitHub Desktop.
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> | |
<title></title> | |
</head> | |
<body> | |
<p id="hellothere" class="hello">Hello</p> | |
<p class="hello">World</p> | |
<script src="Scripts/jquery-2.1.0.js"></script> | |
<script> | |
$(document).ready(function () { | |
var elements = $(".hello").css("border", "dashed 2px red"); | |
elements.css("background-color", "yellow"); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment