Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History
 
 

101-clickable-grid

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

clickable grid

使用方法

  • 使用如下命令行,把myBranchName替换成你自己的github的用户名
git clone git@github.com:qianxueseng-com/js-projects.git
cd js-projects
git checkout -b 'myBranchName'

基本要求

  • 可以使用jQuery
  • 请生成一个n x n的格子,每个格子里面显示一个数字,从1到n^2为止。
  • 当点击每个格子的时候,都用console.log打印出当前格子的数字。

额外要求

  • css使用flexbox
  • js使用event delegation