Skip to main content

Posts

Showing posts from 2017

SASS

SYNTACTICALLY AWESOME STYLESHEETS Preprocessing Compiling :  sass input.scss output.css Variables SASS $font-stack : Helvetica , sans-serif $primary-color : #333 body font : 100% $font-stack color : $primary-color SCSS $font-stack : Helvetica , sans-serif ; $primary-color : #333 ; body { font : 100% $font-stack ; color : $primary-color ; } Nesting SASS nav ul margin : 0 padding : 0 list-style : none li display : inline-block a display : block padding : 6px 12px text-decoration : none nav{ ul{ margin : 0; padding : 0; list-style : none; } li { display : inline-block; } a { display : block; padding : 6px 12px; text-decoration : none; } Partials This is a great way to modularize your CSS and help keep things easier to maintain   _partial.scss . Import // base.scss @im...

Resources

Good links SPRING http://www.studytrails.com/frameworks/spring/spring-security-method-level-jsr-250/ Facebook https://research.fb.com/the-evolution-of-advanced-caching-in-the-facebook-cdn/ Google https://developers.google.com/s/results/?q=+cache&p=%2F http://www-igm.univ-mlv.fr/~lecroq/string/node1.html Machine learnig https://www.analyticsvidhya.com/blog/2016/12/30-top-videos-tutorials-courses-on-machine-learning-artificial-intelligence-from-2016/

Jquery 2 - part 1

Jquery makes it easy FIND an HTML element   CHANGE  HTML content LISTEN  to user & react accordingly ANIMATE cotent on the page TALK over the network to fetch content Ways FIND an HTML element  '<'li class ='vacation sale'  data-price  = '399.99' '>'  jquery('li') or $('li') $( document ).ready(function() {    $("span").text("$100"); }); Question: Modify all list nodes  Question: Finding elements by ID or class Question: Finding elements by ID Question: Finding elements by ID or class Question: Finding elements by ID or class select  by element  : $("ul")  select  by id  : $("#vacations") select  by id :  $(". america ") Searching the DOM You can search an element by  Specifying class  followed by element...