Home> Web design tutorial
All Dreamweaver tutorial Javascript tutorial HTML tutorial CSS tutorial Experience and skills DHTML tutorial Web effects WEB standardization
Web design tutorial
  • Is javascript a server-side scripting language?

    Is javascript a server-side scripting language?

    JavaScript is not a server-side scripting language, but a client-side scripting language; JavaScript is a scripting language whose source code does not need to be compiled before being sent to the client for running, and does not require server-side suppo
    2022-07-11
  • What are the function types of Javascript?

    What are the function types of Javascript?

    Function types of Javascript: 1. Constructor, use the new keyword to define the function to be called, and return a new object by default; 2. Anonymous function, a function without an actual name, will not cause pollution to global variables; 3. Closure f
    2022-07-11
  • There are several ways to handle javascript events

    There are several ways to handle javascript events

    There are three ways to handle JavaScript events: 1. HTML event handler, add the event handler directly in the HTML code, the syntax is "<element event=event function...>"; 2. DOM0 level event handler, for the specified object To add event
    2022-07-09
  • How to use archiver in nodejs

    How to use archiver in nodejs

    In nodejs, archiver is used to compress and package some files into compressed packages in zip format or tar format; archiver is a module that can implement packaging functions across platforms. The packaging formats are zip and tar. You can use the &quot
    2022-07-09
  • How to use await in nodejs

    How to use await in nodejs

    In nodejs, await is used to pause execution in a non-blocking manner, waiting for a promise's asynchronous request, and waiting for the asynchronous method to complete execution; await can be used in async functions to wait for the return value of an
    2022-07-09
  • What is modularity in nodejs

    What is modularity in nodejs

    In nodejs, modularization refers to splitting a large file into multiple small modules that are independent and dependent on each other. Each js file is considered a separate module; the modules are invisible to each other. If a module needs To use anothe
    2022-07-09
  • What is routing in nodejs

    What is routing in nodejs

    In nodejs, routing refers to the mapping relationship between url address and response function; a url address responds to an html page, which is to extract the business of a path matching relationship into a separate js file. The syntax for creating a ro
    2022-07-09
  • What does lts mean in nodejs

    What does lts mean in nodejs

    In nodejs, lts means long-term support and is the abbreviation of "Long Time Support"; Node has two release process lines, odd version and even version. When an odd version is released, the latest even version will immediately enter LTS maintena
    2022-07-09
  • How to use require in nodejs

    How to use require in nodejs

    In nodejs, require is used to load modules or files; the require function is a mechanism for synchronous loading at runtime. When this function uses a parameter, the parameter value can have the file name of the complete path module, or it can be the modu
    2022-07-08
  • What are the built-in modules of nodejs?

    What are the built-in modules of nodejs?

    Nodejs built-in modules: 1. path module, used to process file paths, the introduction syntax is "require('path')"; 2. until module, used to make up for the lack of js functions and add new APIs; 3. fs module, file operations System API;
    2022-07-08
  • How to solve nodejs 1909 error

    How to solve nodejs 1909 error

    In nodejs, the 1909 error can be solved by deleting ComSpec in the environment variable; the reason for the 1909 error is the conflict of system environment variables. You can find the "Advanced System Property Settings" in "About" in
    2022-07-08
  • Can nodejs be installed on windows7?

    Can nodejs be installed on windows7?

    Nodejs can be installed on Windows 7; in July 2011, Node released the Windows version with the support of Microsoft, but the highest nodejs version that windows7 can support is the "v13.14.0" version. Nodejs higher than this version can no longe
    2022-07-07
  • What do nodejs modules and packages do?

    What do nodejs modules and packages do?

    In nodejs, a module is a js file used to use some specified functions. By dividing all functions into modules, the scope of global variables and functions defined in each module is also limited to this module; packages It is used to manage modules and the
    2022-07-07
  • Is nodejs multi-threaded?

    Is nodejs multi-threaded?

    nodejs is not multi-threaded, but single-threaded; nodejs uses a single-threaded asynchronous non-blocking mode. Because of the JavaScript engine, node is single-threaded by default. A nodejs application cannot utilize multi-core resources and can use eve
    2022-07-07
  • How to use map method in react

    How to use map method in react

    In react, the map method is used to traverse and display a list of similar objects of the component; the map method is not unique to react and can call standard JavaScript functions on any array. The map method calls the provided function on each element
    2022-07-06