优客李李

「给你的生活加点阳光!」

3 Ways To Optimize Webpage Performance(网页性能优化的3种方法)

> > **Udacity课程链接** > > > > [Website Performance Optimization](https://www.udacity.com/course/website-performance-optimization--ud884) > > 工具 Chrome Dev Tools里的T...

入门学习Grunt

在Udacity上学习了一点Grunt的皮毛,其实还不算会用,只是会拿现有的文件重新套用到新项目中去。将流程记录如下,慢慢增进。 **安装node.js **node.js链接。安装完毕后,就能用npm了。查看npm的位置,可以在终端输入which npm。 **将Grunt命令行安装到全局环境中: **npm install -g grunt-cli ...

jQuery Notes

I’ve learned “Intro to jQuery” in Udacity. Here is the link: Intro to jQuery. What I’ve learned jQuery is a function as well as an object. It’s a JavaScript library. $ === jQuer...

JavaScript Notes

I learned JavaScript Basics in Udacity. This is the link: JavaScript Basics. What I’ve learned console.log(); //Let interpreter(Chrome dev tools) print out the content. 让解释器打印出括号里面的内容。 ...

Markdown Syntax

These days I’m learning “How to write readme in GitHub”, it’s time to give a collection of Markdown syntax. // 1st level caption 一级标题 // 2nd level caption 二级标题 … // 6th level caption 六级标题 code...

A Simple H5 Game -- Angry Bug(part 2)

Now it’s time to sum up canvas : canvas (画布)is an element of html documents. When using it, we must define the width and height of it, so that the browser can know how large the canvas is;...

A Simple H5 Game -- Angry Bug(part 1)

Recently, on my way processing Udacity Front-end Nanodegree, I met a project called “Classic Arcade Game”, developed by Object Oriented JavaScript and HTML5. Here is my result : https://github.com/...

Example content for posts

This demo page has been used from http://jasonm23.github.io/markdown-css-themes/. A First Level Header A Second Level Header A Third Level Header A Fourth Level Header A Fifth Level Header A ...

To My Future Self

Hey myself: Now I’m in Pittsburgh, PA. I don’t know where you will be in future. There will happen plenty things during the lifetime. What I can handle is, just this moment. What’s my problem ...

JavaScript在for-in循环中,用点还是中括号?

初学JS。在用for in循环的时候,对用点还是用中括号产生了困惑。 困惑阐述: 定义一个对象,含若干属性名称及属性值: 1 2 3 4 5 6 7 8 9 10 11 12 <span style="color: #6ab825; font-weight: bold;">var</span> <span style="color: #d0d0d0...