jQuery seems to be affecting HTML elements with animations;
First you have to have your script tags (because JS)
Then this;
$(document).ready(function(){});
Every statements starts with bling - $
Then what we’re adjusting - (“within this”)
Then .addClass - function.
* .remove
* .css
Finally, with (“What we want it to do”)
so
$(“target of adjustment”).addClass(“what are you doing now”)
Or, technically -
$(“element”).addClass(“classes”)
You can select parent elements of an object;
$(“left-square).parent().css(“background-color”, “orange”)
EMPLOYERS: This is me learning a new skill.
First you have to have your script tags (because JS)
Then this;
$(document).ready(function(){});
Every statements starts with bling - $
Then what we’re adjusting - (“within this”)
Then .addClass - function.
* .remove
* .css
Finally, with (“What we want it to do”)
so
$(“target of adjustment”).addClass(“what are you doing now”)
Or, technically -
$(“element”).addClass(“classes”)
You can select parent elements of an object;
$(“left-square).parent().css(“background-color”, “orange”)
EMPLOYERS: This is me learning a new skill.
Comments
Post a Comment