- CSS Properties
- Truncate text
- for 1 line
- for multiple lines
- http://joelsaupe.com/programming/multiple-line-ellipsis-css/
The key to handling images is to use relative widths to prevent them from accidentally overflowing the container and eventually the viewport, so it is better to pre-set the width of all image tags to 100%. In fact it is recommended to do that on img
, video
, embed
and object
elements:
img, video,
embed, object {
Grunt is a JavaScript task runner, a tool used to automatically perform frequent tasks such as minification, compilation, unit testing, and linting. It uses a command-line interface to run custom tasks defined in a file.
via: Wikipedia
1- install grunt-cli globally:
Hidden Columns
The concept here is to hide columns based on their importance as the viewport gets smaller. This can be done by applying a display: none
on the columns you want to hide at a certain breakpoint.
The bad thing about hidden columns technique is that the hidden columns are not seen by search engines or screen readers.
With the no more tables technique, below a certain viewport width, the table is collapsed and resembles a long list, as opposed to a table data.
Service Worker is a programmable network proxy, allowing you to control how network requests from your page are handled. Service Workers require HTTPs on the page (The only exception is when working locally).
Note: If there is information that you need to persist and reuse across restarts, service workers do have access to the IndexDB API.
ngrok allows you to expose a web server running on your local machine to the internet.
AJAX or Asynchronous Javascript and XML allows for content retrieval and display without reloading the web page. The concept is to send that the client sends the request and while waiting it can do other tasks but once the response returns we can do whatever we want with the it, well, according to the pre-set instructions that we set before dubbed callbacks.
API is an acronym for Application Programming Interface. We'll be using APIs to interact with various data sources.