Web Libraries Flashcards
1
Q
Libraries
A
provide pre-programmed functions, CSS classes, and other webtools
2
Q
jQuery
A
- simplifies JavaScript
- contains various shortcuts and built-in functions that help us to leave our redundant code
3
Q
$(“.theClass”)
A
getElementByClassName()
4
Q
$(“#theID’)
A
getElementById()
5
Q
$(“tag”)
A
getElementByTagName()
6
Q
element.css(“property”, “value);
A
$(“#top”).css(“display”,”block”);
7
Q
Bootstrap
A
- library for website development
- pre-made modules that are free to use for anyone making a website
- saves time on having to write all the code for everything in a website
8
Q
Bootstrap layouts
A
- sum of cell sizes in a row must = 12
- row, col
- responsive
4 size classes: xs, sm, md, lg