ǰ˲
HTMLCSS
1.
ҳЩԹеcssǰֱʲô?
2. ҳõͼƬʽЩ 3. CSSдһĻõƬЧҳ棬ͼƬߴ600*320(px) 4. CSSпڴֱˮƽصʲô? 5. һ½ǿŽ֮IJͬ
Javascript
ʹõ/ 1. д¿̨
a. console.log( 1 + 2 + '3' ); __________________ b. console.log( '3' + 2 + 1 ); __________________ c. console.log( + '3' + 2 + 1 ); __________________ d. console.log( 1 + +'2' + '3' ); __________________ e. console.log( 'A' - 'B' + 'C' ); __________________ f. console.log( 0 && 2 || 1 ); __________________ g. var a=0.1, b = a+++a, c = a--+b; console.log(a,b,c); __________________ 2. д´ڿ̨ (function(){ var a = b = 9; })(); console.log(a); __________________ console.log(b); __________________ 3. дsumʹ䰴µýС console.log(sum(2,3)); // 5 console.log(sum(2)(3)); // 5 4. ʵĵԼС
var numberArray = [3,6,2,4,1,5]; Ž[5,1,4,2,6,3] [6,5,4,3,2,1] 5. дȡUrlĺkey-valueʽ洢jsonṹзء urlʾ.domain./project/item/list.html?a=1&b=2&c=&d=xxx&e 6. 뷵ʲôһ console.log((function f(n){return ((n > 1) ? n * f(n-1) : n)})(10)); 7. ַ֪foo=\дһfunctionתշʾ\
8. ´\ڿ̨ʲô for (var i = 0; i < 5; i++) { var btn = document.createElement('button'); btn.appendChild(document.createTextNode('Button ' + i)); btn.addEventListener('click', function(){ console.log(i); }); document.body.appendChild(btn); } ʣ⣬ĴʵԤЧ Ӳ
1. 2.
һʱͷغ϶ٴΣ ___________________
һȵ㣬Ҫ2СʱȼҪܲ2Сʱ15ӣ
___________________ 3. 8һС7һ1أһңٳؼ
ҳǸһС _________ 4. һÿСʱ15ٶ뿪ֱͬʱһÿСʱ20
ȴӿһֻ30ÿСʱٶȺͬʱӳһ෴ķȥɣ֮صطɣֱʣֻ˶ľ룿 ____________ 5. طֱӦյƣ·ãƿʱܿҵƵ
ֻһΣܷȷغ͵ƵĶӦϵ
ǰ˲𰸣DZ/ο
HTML/CSS
1.
Ŀǰ
IE(Internet Explorer)ˣTrident,-ms- FF(Firefox)ˣGecko,-moz- ChromeSafariˣWebKit,-webkit- OperaˣPresto,-o- 2. ҪͼƬʽ BMPGIFJPEG(.jpg/.jpeg)PNG(png-8/png-24)SVGTIFFWebP£... 3. Ҫʽ룺 .animation { width: 600px; height: 320px; overflow: hidden; background-size: cover; background-position: center; -webkit-animation-name: \ -webkit-animation-duration:20s; -webkit-animation-iteration-count: infinite; } -webkit-keyframes \ 0% { background: url('1.jpg') no-repeat;} 25% { background: url('2.jpg') no-repeat;} 50% { background: url('3.jpg') no-repeat;} 75% { background: url('4.jpg') no-repeat;} 100% { background: url('5.jpg') no-repeat;} } 4. 5.
ֱline-height ˮƽletter-spacing ǿprogressive enhancementԵͰ汾йҳ棬֤
ĹܣȻԸЧȸĽӹܴﵽõû顣