1-1 如何获取DOM元素

    1. byId
    2. byClassName
    3. byTagName
    4. query

    1-2 DOM的增删改查

    1. appendChild()
    2. insertBefore()
    3. append()
    4. prepend()
    5. before()
    6. after()
    7. remove()

    1-1 操作css

    1. add()
    2. remove()
    3. toggle()
    4. contains()

    1-1 BOM
    screen

    1. screen.availwidth

    location

    1. location.href

    history

    1. histroy.back()
    2. histroy.forward()

    事件

    1. onclick
    2. onfocus
    3. onblur

    函数
    1-1声明一个函数

    1. #1.使用function关键字去声明
    2. function show(){
    3. console.log("hello world")
    4. }
    1. #2.var
    2. var show=function(){
    3. console.log("hello");
    4. }

    1-1 return

    1. function go(){
    2. return"1"
    3. }

    1-1 函数的参数

    1. #1.函数传不定参
    2. #2.arguments
    3. #3.重载

    1-1 函数和对象

    1. var obj = {
    2. name:"shang",
    3. sayName(){
    4. console.log(this.name)
    5. },
    6. sayAge:()=>{
    7. console.log(18)
    8. },
    9. saySkill:function(){
    10. console.log("javascript")
    11. }
    12. }