This file contains hidden or 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
<style type='text/sass'> | |
@mixin border-stroke($val) { | |
@if $val == light { | |
border: 1px solid black; | |
} | |
@else if $val == medium { | |
border: 3px solid black; | |
} | |
@else if $val == heavy { |
This file contains hidden or 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
<style type='text/sass'> | |
@mixin border-radius($radius){ | |
-webkit-border-radius: $radius; | |
-moz-border-radius: $radius; | |
-ms-border-radius: $radius; | |
border-radius: $radius; | |
} |
This file contains hidden or 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
<script> | |
$(document).ready(function() { | |
$("#target1").css("color", "red"); | |
$("#target1").prop("disabled", true); | |
$("#target4").remove(); | |
$("#target2").appendTo("#right-well"); | |
$("#target5").clone().appendTo("#left-well"); | |
$("#target1").parent().css("background-color", "red"); | |
$("#right-well").children().css("color", "orange"); | |
$("#left-well").children().css("color", "green"); |
This file contains hidden or 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
<script> | |
$(document).ready(function() { | |
$("#target1").css("color", "red"); | |
$("#target1").prop("disabled", true); | |
$("#target4").remove(); | |
$("#target2").appendTo("#right-well"); | |
$("#target5").clone().appendTo("#left-well"); | |
$("#target1").parent().css("background-color", "red"); | |
$("#right-well").children().css("color", "orange") | |
}); |
This file contains hidden or 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
<script> | |
$(document).ready(function() { | |
$("#target1").css("color", "red"); | |
$("#target1").prop("disabled", true); | |
$("#target4").remove(); | |
$("#target2").appendTo("#right-well"); | |
$("#target5").clone().appendTo("#left-well"); | |
}); | |
</script> |
This file contains hidden or 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
<script> | |
$(document).ready(function() { | |
$("button").addClass("animated bounce"); | |
$(".well").addClass("animated shake"); | |
$("#target3").addClass("animated fadeOut") | |
}); | |
</script> | |
<!-- Only change code above this line. --> |
This file contains hidden or 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
<div class="container-fluid"> | |
<h3 class="text-primary text-center">jQuery Playground</h3> | |
<div class="row"> | |
<div class="col-xs-6"> | |
<h4>#left-well</h4> | |
<div class="well" id="left-well"> | |
<button class="btn btn-default target" id="target1">#target1</button> | |
<button class="btn btn-default target" id="target2">#target2</button> | |
<button class="btn btn-default target" id="target3">#target3</button> |
This file contains hidden or 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
<div class ="row"> | |
<div class="col-xs-4"> | |
<button class="btn btn-block btn-primary">Like</button> | |
</div> | |
<div class="col-xs-4"> | |
<button class="btn btn-block btn-info">Info</button> | |
</div> |
This file contains hidden or 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
var myObj = { | |
gift: "pony", | |
pet: "kitten", | |
bed: "sleigh" | |
}; | |
function checkObj(checkProp) { | |
// Your Code Here | |
if (myObj.hasOwnProperty(checkProp) === true) { | |
return myObj[checkProp]; |
This file contains hidden or 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
<style> | |
:root { | |
--penguin-size: 300px; | |
--penguin-skin: gray; | |
--penguin-belly: white; | |
--penguin-beak: orange; | |
} | |
@media (max-width: 350px) { | |
:root { |
NewerOlder