This article was changed from Feiyu's "[Translation] Front-end Developers Getting Started Guide, Building Node.js, Express, Jade, Mongodb Server from scratch". The reason why Jade was replaced with Ejs is because I think ejs is more in line
<Head>...</head> It means yes<HTML> The file header is used to describe the file name and related information about the file itself. Usually this part of the tag declares this web page: default language encoding, keywords, software usage, etc. Meta tags c
The JS method that is often used is written down today so that it can query in the future /* mobile phone type judgment*/Copy the code as follows: var BrowserInfo = {userAgent: navigator.userAgent.toLowerCase() isAndroid: Bo
1. Optimization of commonly used HTML tags should be a basic skill for web editing. It is unfamiliar to say that you are not familiar with it. As a web editor, it is not necessary to master all SEO parameters, but it is necessary for everyone to understan
Generally, we rarely see HR, but we may determine life and death at first sight. The same is true in HTML, we don't<hr /> , but at first sight it usually determines whether you can use the perfect dividing line. Here, I won't attach the pictures,
In JavaScript, string, number, and boolean are all primitive basic types, that is, strings, numerical values, and boolean values do not exist in the form of objects. However, since these three primitive types need to be operated on, JavaScript will auto
For any JavaScript program, when the program starts running, the JavaScript interpreter initializes a global object for the program to use. The functions of the global object provided by this JavaScript itself include: 1. The global object has some common
What is an HTML file? HTML represents Hyper Text Markup Language. An HTML file is a text file containing tags. These tags show this page in the fastest browser. HTML files must have an html or html extension. HTML
In the previous introduction, we already know that Javascript has no block-level function, only function-level scope. Copy the code as follows: function test() { // a scopefor(var i = 0; i < 10; i++) { // not a sc
1. Everything (variables, function names, operators) in ECMAScript is case sensitive. For example, the variable names test and Test represent two different variables respectively. 2. Identifiers The so-called identifier refers to the names of variables, f
I encountered a cross-domain problem two days ago, and it can be solved using jsonp. (//www.VeVB.COM/article/57889.htm) I have sorted out recently: 1.jsonp. ajax request, dataType is jsonp. This form requires the request to be adjusted to return cal on th