Documente Academic
Documente Profesional
Documente Cultură
Q: Name 4 new elements in HTML5 that were not available in previous HTML version
s.
A: canvas | audio | svg | header | footer | aside | article | nav | section etc
CSS:
--------
Q: Name 3 attributes of the position property.
A: static, absolute, fixed, relative, inherit.
difference between a CSS reset and normalize.css
A: CSS Reset removes browser default styles. Normalize.css sets a standard acros
s all browsers (It does not reset them).
JS:
Q: Is JavaScript case sensitive?
A: Yes
Q: What is an AJAX request and what is a simple example of where a AJAX request
would be used?
A: Asynchronous JavaScript and XML. Client side process used for GET, POST etc t
o get new data without having to refresh the page.
jQuery:
Q: What is jQuery
A: A JavaScript Framework/Library that make things like DOM selection/manipulati
on, AJAX, and animation, easier.
Q: What programming language does jQuery use?
A: JavaScript
Q: Is jQuery code exicuted on the clientside, or serverside?
A: Clientside
Q: How do you install/use jQuery in a project. What is the minimum setup needed
to start using jQuery.
A: script tag, linked to a jquery CDN or locally hosted file.
Q: What is the difference between require() and include() when an error is encou
ntered.
A: include() will raise a warning if it fails, require() will raise a fatal erro
r.
Bootstrap:
-----------
Q: What is the current major version of Bootstrap?
A: 3.x.x
Q: Name 3 available jQuery plugins that Bootstrap has in their Query plugin libr
ary.
A: Modal, Dropdown, Scrollspy, Tab, Tooltip, Popover, Alert, Button, Collapse, C
arousel, Affix.
Q: What minimum things do you have to do in order to include Bootstrap & Boostra
p JS in a project/ HTML Document.
A: Add bootstrap.css/bootstrap.js link and script in the head of the HTML docume
nt *bonus if bootstrap.js script included in the footer (better for page loading
).
AngularJS
-----------
Q:What are the basic steps to unit test an AngularJS filter?
(Question provided by Daniel Lamb)
1. Inject the module that contains the filter.
2. Provide any mocks that the filter relies on.
Q:What should be the maximum number of concurrent watches ? Bonus: How would you ke
ep an eye on that number?
(Question provided by Daniel Lamb)
TL;DR Summary: To reduce memory consumption and improve performance it is a good
idea to limit the number of watches on a page to 2,000. A utility called ng-sta
ts can help track your watch count and digest cycles.
ReactJs
----------
Question #1: What is React? How is it different from other JS frameworks?
React is an open-source JavaScript library created by Facebook for building comp
lex, interactive UIs in web and mobile applications.
The key point in this answer is that React s core purpose is to build UI component
s; it is often referred to as just the V (View) in an MVC architecture. Therefore it
has no opinions on the other pieces of your technology stack and can be seamles
sly integrated into any application.