@版本 2.0.0
譯注:此翻譯版,主要給不能流利的讀英文的人看,相關專有名詞還是保留原文。翻譯不好地方請協助pull request.
此repository包含了一些前端開發的面試問題,來審查一個有潛力的面試者。這並不是建議你對同一個面試者問上所有的問 (那會花費好幾小時)。從列表中挑幾個題目,應該就夠幫助你審查面試者是否擁有你需要的技能。
Rebecca Murphey 的 Baseline For Front-End Developers 也是一篇很棒且值得讀的文章在你開始面試之前。
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title></title> | |
| <script src="//cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script> | |
| <style type="text/css"> | |
| html, body, svg { | |
| width: 100%; height: 100%; padding: 0; margin: 0; | |
| } |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| <style> | |
| svg{ display: block; width: 500px; height: 500px; } | |
| </style> | |
| </head> |
| <template> | |
| <div id="app"> | |
| <div class="panel panel-default"> | |
| <div class="panel-heading">Task Table</div> | |
| <table class="table"> | |
| <!-- 表頭 --> | |
| <thead> | |
| <tr> | |
| <th class="number">#</th> | |
| <th class="name">Task Name</th> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.js"></script> | |
| <style type="text/css"> | |
| html, body { | |
| width: 100%; | |
| height: 100%; | |
| padding: 0; |
| /* Stack-based Douglas Peucker line simplification routine | |
| returned is a reduced GLatLng array | |
| After code by Dr. Gary J. Robinson, | |
| Environmental Systems Science Centre, | |
| University of Reading, Reading, UK | |
| */ | |
| function GDouglasPeucker (source, kink) | |
| /* source[] Input coordinates in GLatLngs */ | |
| /* kink in metres, kinks above this depth kept */ |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <script type="text/javascript" src="../scripts/d3/d3.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script> | |
| <script src="https://d3js.org/d3-time.v1.min.js"></script> | |
| <style type="text/css"> | |
| html, |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>D3 Gauge Chart</title> | |
| <style type="text/css"> | |
| svg { | |
| display: block; | |
| border: 1px solid #000; | |
| width: 500px; height: 350px; |
@版本 2.0.0
譯注:此翻譯版,主要給不能流利的讀英文的人看,相關專有名詞還是保留原文。翻譯不好地方請協助pull request.
此repository包含了一些前端開發的面試問題,來審查一個有潛力的面試者。這並不是建議你對同一個面試者問上所有的問 (那會花費好幾小時)。從列表中挑幾個題目,應該就夠幫助你審查面試者是否擁有你需要的技能。
Rebecca Murphey 的 Baseline For Front-End Developers 也是一篇很棒且值得讀的文章在你開始面試之前。
| // Add a 401 response interceptor | |
| window.axios.interceptors.response.use(function (response) { | |
| return response; | |
| }, function (error) { | |
| if (401 === error.response.status) { | |
| swal({ | |
| title: "Session Expired", | |
| text: "Your session has expired. Would you like to be redirected to the login page?", | |
| type: "warning", | |
| showCancelButton: true, |