diff --git a/02_JS-and-CSS-Clock/readme.md b/02_JS-and-CSS-Clock/readme.md index 383dcfe..a133d13 100644 --- a/02_JS-and-CSS-Clock/readme.md +++ b/02_JS-and-CSS-Clock/readme.md @@ -36,7 +36,7 @@ ## **CSS語法&備註** -### **transform-oragin** +### **transform-origin** 變形的軸心,預設為物件的中心點, 在這個範例中,設定為100%(right)可以使其從時鐘面的中心點開始旋轉。 diff --git a/14_JavaScript-References-VS-Copying/readme.md b/14_JavaScript-References-VS-Copying/readme.md index d42ff6c..7d614c7 100644 --- a/14_JavaScript-References-VS-Copying/readme.md +++ b/14_JavaScript-References-VS-Copying/readme.md @@ -5,6 +5,7 @@ 介紹JavaScript中陣列與物件的引用(refrence)及複製(Copying)。 [[BLOG]](https://guahsu.io/2017/08/JavaScript30-14-JavaScript-References-VS-Copying/) +[[DEMO]](http://guahsu.io/JavaScript30/14_JavaScript-References-VS-Copying/index-GuaHsu.html) ## **步驟** ### Step1. 原始型別 diff --git a/16_Mouse-Move-Shadow/readme.md b/16_Mouse-Move-Shadow/readme.md index 198cb98..766779c 100644 --- a/16_Mouse-Move-Shadow/readme.md +++ b/16_Mouse-Move-Shadow/readme.md @@ -5,6 +5,7 @@ 透過textShadow讓文字的陰影隨滑鼠位置偏移, 並稍微帶到ES6的解構賦值的用法。 [[BLOG]](https://guahsu.io/2017/10/JavaScript30-16-Mouse-Move-Shadow/) +[[DEMO]](http://guahsu.io/JavaScript30/16_Mouse-Move-Shadow/index-GuaHsu.html) ## **步驟** ### Step1. 設定目標區域與基本偏移量 diff --git a/17_Sort-Without-Articles/readme.md b/17_Sort-Without-Articles/readme.md index 026bbd0..a8b7f54 100644 --- a/17_Sort-Without-Articles/readme.md +++ b/17_Sort-Without-Articles/readme.md @@ -4,7 +4,8 @@ ## **主題** 介紹如何將陣列在排除部分文字的情況下排序。 -[[BLOG]](https://guahsu.io/2017/10/JavaScript30-17-Sort-Without-Articles/) +[[BLOG]](https://guahsu.io/2017/10/JavaScript30-17-Sort-Without-Articles/) +[[DEMO]](http://guahsu.io/JavaScript30/17_Sort-Without-Articles/index-GuaHsu.html) ## **步驟** ### Step1. 建立篩選的function diff --git a/18_Adding-Up-Times-with-Reduce/readme.md b/18_Adding-Up-Times-with-Reduce/readme.md index 7c3d78d..18c7b0d 100644 --- a/18_Adding-Up-Times-with-Reduce/readme.md +++ b/18_Adding-Up-Times-with-Reduce/readme.md @@ -4,7 +4,8 @@ ## **主題** 利用`map()`與`reduce()`來取得播放清單的總秒數。 -[[BLOG]](https://guahsu.io/2017/10/JavaScript30-18-Adding-Up-Times-with-Reduce/) +[[BLOG]](https://guahsu.io/2017/10/JavaScript30-18-Adding-Up-Times-with-Reduce/) +[[DEMO]](http://guahsu.io/JavaScript30/18_Adding-Up-Times-with-Reduce/index-GuaHsu.html) ## **步驟** ### Step1. 取得全部的時間值 diff --git a/19_Webcam-Fun/readme.md b/19_Webcam-Fun/readme.md index a418ca4..e4bdcba 100644 --- a/19_Webcam-Fun/readme.md +++ b/19_Webcam-Fun/readme.md @@ -3,7 +3,8 @@ ## **主題** 利用`navigator.mediaDevices.getUserMedia`來取得視訊鏡頭影像,並透過`cavas`來達到拍照與濾鏡的效果。 -[[BLOG]](https://guahsu.io/2017/10/JavaScript30-19-Webcam-Fun) +[[BLOG]](https://guahsu.io/2017/10/JavaScript30-19-Webcam-Fun) +[DEMO] -> 安全性問題無法檢視,請在本機執行 ## **步驟** ### Step1. 啟動Local Server diff --git a/20_Speech-Detection/readme.md b/20_Speech-Detection/readme.md index 73c4a2b..5064171 100644 --- a/20_Speech-Detection/readme.md +++ b/20_Speech-Detection/readme.md @@ -4,7 +4,8 @@ 利用`SpeechRecognition`來做語音識別, 並透過`interimResults`來輸出識別的結果。 -[[BLOG]](https://guahsu.io/2017/10/JavaScript30-20-Speech-Detection) +[[BLOG]](https://guahsu.io/2017/10/JavaScript30-20-Speech-Detection) +[[DEMO]](http://guahsu.io/JavaScript30/20_Speech-Detection/index-GuaHsu.html) ## **步驟** ### Step1. 啟動Local Server diff --git a/21_Geolocation/readme.md b/21_Geolocation/readme.md index 37a9350..16c66c0 100644 --- a/21_Geolocation/readme.md +++ b/21_Geolocation/readme.md @@ -3,7 +3,8 @@ ## **主題** 利用`navigator.geolocation`來取得裝置的地理位置與速率。 -[[BLOG]](https://guahsu.io/2017/10/JavaScript30-21-Geolocation) +[[BLOG]](https://guahsu.io/2017/10/JavaScript30-21-Geolocation) +[[DEMO]](http://guahsu.io/JavaScript30/21_Geolocation/index-GuaHsu.html) ## **步驟** ### Step1. 啟動Local Server diff --git a/22_Follow-Along-Link-Highlighter/readme.md b/22_Follow-Along-Link-Highlighter/readme.md index e70cd3e..07fdbc0 100644 --- a/22_Follow-Along-Link-Highlighter/readme.md +++ b/22_Follow-Along-Link-Highlighter/readme.md @@ -5,7 +5,8 @@ ## **主題** 透過`getBoundingClientRect`與CSS的`transform`來達到HightLight樣式會跟著指定位置移動的效果。 -[[BLOG]](https://guahsu.io/2017/10/JavaScript30-22-Follow-Along-Link-Highlighter) +[[BLOG]](https://guahsu.io/2017/10/JavaScript30-22-Follow-Along-Link-Highlighter) +[[DEMO]](http://guahsu.io/JavaScript30/22_Follow-Along-Link-Highlighter/index-GuaHsu.html) ## **步驟** ### Step1. 取得頁面元素 diff --git a/23_Speech-Synthesis/readme.md b/23_Speech-Synthesis/readme.md index 1bad824..bdbc8eb 100644 --- a/23_Speech-Synthesis/readme.md +++ b/23_Speech-Synthesis/readme.md @@ -5,7 +5,8 @@ ## **主題** 使用`SpeechSynthesisUtterance`及`speechSynthesis`來使文字轉語音。 -[[BLOG]](https://guahsu.io/2017/10/JavaScript30-23-Speech-Synthesis) +[[BLOG]](https://guahsu.io/2017/10/JavaScript30-23-Speech-Synthesis) +[[DEMO]](http://guahsu.io/JavaScript30/23_Speech-Synthesis/index-GuaHsu.html) 上次有做過語音轉文字的練習[[20 - Speech Detection]](https://guahsu.io/2017/10/JavaScript30-20-Speech-Detection/), 這次則是要使用文字轉語音,透過介面中的輸入欄位來轉語音播放, diff --git a/index.html b/index.html index d3109fc..4899c80 100644 --- a/index.html +++ b/index.html @@ -45,7 +45,7 @@