2014年3月22日 星期六

Lab 12 Regular expression in action

Lab 11 Regular Expression II

Lab 10 Regular expression I

2014年3月10日 星期一

Lab 9 使用Google Docs 下OX 棋


Lab 7 Using browsers for programming







<html>
     <head>
</head>
<body id="body">
   <form action="javascript:void(0);" id="exampleForm">
    <input type="password" id="examplePass" />
<input type="submit" />
</form>
</body>
    <script>
 document.getElementById("exampleForm").onsubmit=function()
    {
 var passwordRegex = /^[A-Za-z\d]{6,8}$/;

 if(!passwordRegex.test(document.getElementById("examplePass").value))
        {
     console.log("Regex didn't match");
 var notify = document.getElementById("notify");
 if (notify === null)
   {
     notify = document.createElement("p");
 notify.textContent = "Passwords need to be between 6 and 8 characters long and consist of uppercase characters, lowercase characters, and digits only."
     notify.id = "notify";

 var body = document.getElementById("body");
 body.appendChild(notify);
}
   }

    };



   </script>
    </html>

2014年3月3日 星期一

Lab 4:破解網路大學排名DIY




中原大學

269426.5

台灣大學

284382

元智大學

81728

中正大學

279883.5

Lab 6:Using Chrome

一.www.cycu.edu.tw 

 1.cycu_honer.jpg
 2.newsbox.jsp
 3.runinfo.jsp

 二.www.youtube.com

1.http://www.youtube.com/ 
2.http://csi.gstatic.com/csi?v=2&s=youtube&action=gli&pt=951&e=912307,939935,916625,934227,937417,937416,913434,936910,936913,902907,3300026,3300113,3300133,3300137,3300161,3310366,3310629,3310646&yt_lt=cold&yt_li=1&yt_spf=0&ei=oXcUU4fGFof2mAWQg4CgBA&srt=843&rt=ce.258,cl.259,bf.311,hr.335,je.446,jl.449,ol.668,aft.668&it=st.507,req_.730,rcv_.31 
3.http://www.youtube.com/v/r1W3cXrWg5s?autoplay=0&version=3&showinfo=0&fs=1&rel=0&autohide=1&iv%5Fload%5Fpolicy=1&cc%5Fload%5Fpolicy=0&modestbranding=1&theme=dark&color=red&adformat=1%5F8

 三.www.udacity.com 

1.https://www.udacity.com/media/js/udacity/udacity.min.js?4353f3facd4c92187fd07d419bddaca6 2.https://ib.adnxs.com/pxbidder=172&seg=802787&action=setuid(%27MTI3ZmUxZDAwMDE2YmQwMDFjNGU3OGJmMjRiOTIzM2E%27)
3.B784D162680968198.css

Lab 5:Using Labels

標籤測試 請看網誌右上角 標籤為:網際網路