div tag does same as section but main difference is that its not semantic tag (div i would not understand)
container
fucnctions
what: -Set of instructions -Code block that does something
why: Split your code into smaller tasks Reusable
how: function declaration function nameoffunction (parameters or none) { function should be called to have this code running } call it nameoffunction(arguments)
another way: assign the funciton to a variable var x=function() { call the code to have it running :) } x(); call it/invoke it