Resources for learning web design & front-end development:
ONLINE
Design
Resources for learning web design & front-end development:
ONLINE
Design
| ```html | |
| <fieldset class="rating"> | |
| <legend>Please rate:</legend> | |
| <input type="radio" id="star5" name="rating" value="5" /> | |
| <label for="star5" title="Rocks!">5 stars</label> | |
| <input type="radio" id="star4" name="rating" value="4" /> | |
| <label for="star4" title="Pretty good">4 stars</label> | |
| <input type="radio" id="star3" name="rating" value="3" /> | |
| <label for="star3" title="Meh">3 stars</label> | |
| <input type="radio" id="star2" name="rating" value="2" /> |
| // Simple JavaScript Templating | |
| // John Resig - http://ejohn.org/ - MIT Licensed | |
| (function(){ | |
| var cache = {}; | |
| this.tmpl = function tmpl(str, data){ | |
| // Figure out if we're getting a template, or if we need to | |
| // load the template - and be sure to cache the result. | |
| var fn = !/\W/.test(str) ? | |
| cache[str] = cache[str] || |
| # 建议:官方文档对每个规则有简单易懂的例子说明,有时间的同学可以查阅一遍。 | |
| # 官方文档 http://eslint.org/docs/rules/ | |
| extends: 'eslint:recommended' | |
| # 规则按照首字母在字母表升序排序 | |
| rules: | |
| # 单行代码块大括号后需要一个空格 | |
| block-spacing: 2 |
| `emacs --daemon` to run in the background. | |
| `emacsclient.emacs24 <filename/dirname>` to open in terminal | |
| NOTE: "M-m and SPC can be used interchangeably". | |
| * Undo - `C-/` | |
| * Redo - `C-?` | |
| * Change case: 1. Camel Case : `M-c` | |
| 2. Upper Case : `M-u` | |
| 3. Lower Case : `M-l` |
| function interval(duration, fn){ | |
| this.baseline = undefined | |
| this.run = function(){ | |
| if(this.baseline === undefined){ | |
| this.baseline = new Date().getTime() | |
| } | |
| fn() | |
| var end = new Date().getTime() | |
| this.baseline += duration |
React Native lets you build mobile apps using only JavaScript. It uses the same design as React, letting you compose a rich mobile UI from declarative components.
https://facebook.github.io/react-native/
It depends on what project you are going to build. As for front-end developer, you nearly need to learn nothing, only a new way to write javascript (Redux, JSX).