Skip to content
/ JS30Days Public

This is for my JavaScript 30 days challenge, created by Wes Bos. I will keep tracking my challenge progress and write down useful notes for each task as comments in the code, also on README.

License

Notifications You must be signed in to change notification settings

HXMou/JS30Days

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript30

When I was reading the Front-end developer's roadmap, I deeply agree with "to build as many projects as possible" in Important Tip part and release that is exactly what I lack in my CV and GitHub. Thus, I joined the Build 30 JavaScript Projects in 30 Days challenge, created by Wes Bos, and will record down and track my study path in this challenge. 🌟

D01

  • Self-defined HTML attribute form: data-name. Use in the same way as standard HTML tag attribute, like <div class ="key" data-name="65">
  • Attribute selector
  • querySelector
  • Can not add evetListener to an array, have to use forEach to get every element.

D02

  • When use transform: rotate(Xdeg) to rotate an element with X degree in CSS, in default it rotates on the centre middle of that element. ->Fix: use transform-origin:X%
  • setInterval(func, delayTime: 重复调用一个函数或执行一个代码片段,在每次调用之间具有固定的时间间隔,单位为毫秒。ex: setInterval(setDate, 1000); 每隔1秒就调用一次函数setDate

About

This is for my JavaScript 30 days challenge, created by Wes Bos. I will keep tracking my challenge progress and write down useful notes for each task as comments in the code, also on README.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published