摘要:
Angular Binding {{msg.message}} ... 阅读全文
摘要:
HTML: Call the funciton on the scope and give the data as param. Angular Binding --> ... 阅读全文
摘要:
Refactor the spacing between <header>, <article>, and <aside> so that elements will have a 20px margin above and below, regardless of their order on t 阅读全文
摘要:
Refactor theparagraphproperties to use shorthand syntax.p { margin-top: 0; margin-right: 0; margin-bottom: 10px; margin-left: 0; font-family: tah... 阅读全文
摘要:
/** Ternary Conditionals */ // //**Bad** // var isArthur = false; var weapon; if(isArthur){ weapon = "Excalibur"; }else{ weapon = "Longsword"; } // // 阅读全文
摘要:
Sometime, use can rewrite the toString , valueOf method to make those function more useful: For exmaple, we can make valueOf() function to calcualte t 阅读全文