What do beginners learn about JavaScript ?, Beginners learn javascript
I don't know where to start if I want to develop web pages?
I know the JavaScript language, but I don't know how to proceed!
The best way is to constantly develop web pages, write code, constantly view others' code, and study others' code!
Use code to practice javascript: Listen more, read more, ask more, and write more!
If you want to learn the system, you can also find a super practical XXX code segment and grind it carefully!
Record your learning results every day. Don't wait and think you will. answer the following questions!
Function Design, prototype extension, module management, compatibility optimization, closure, Ajax, JSON, object-oriented !!!
Do not use DOTA to view the image.
If you want to learn javascript by yourself, you need to first learn what needs to be done?
This mainly depends on what js is used ~
If you are an artist, learn how to use the webpage creation tool (dreamweaver, frontpage), learn HTML Tag syntax, and learn CSS. You do not need to learn js.
If you mainly use JSP or ASP. Net, and the script is only used for some simple verification, you just need to buy a book and master the basic syntax of js. Just read the HTML DOM1.
If the company does not have an artist and requires programmers to achieve certain page effects, we recommend learning jquery. there are many controls available. jquery itself is very lightweight, with a core of more than 100 k. It implements important functions such as dom encapsulation and ajax, and basically solves the compatibility problem of different browser cores. the most troublesome problem with javascript is the compatibility of DOM browser operations.
For business systems, we recommend that you learn ExtJS. ExtJS uses JavaScript and CSS to implement most standard GUI controls and provides a unified programming interface, similar to compiling C/S programs using js. the browser compatibility issues can be completely ignored.
Familiar with the forced compilation language of Java C #, it is quite painful to learn the weak type Dynamic Language of JavaScript. After you have mastered it, you will find that JS can implement many amazing things.
The following html is pasted into an html file. open the file and enter 4 arithmetic operations. All complexity is required.
How much code do you need to write in C # For such a calculator?
Just one line of js!
<Html>
<Title> ultra-small calculator </title>
<Script>
Function calc (){
Document. getElementById ('result'). value = eval (document. getElementById ('expr'). value );
}
</Script>
Input formula <input id = "expr"/> <input type = "button" value = "=" onclick = "calc (); "/> <input id =" result "/>
</Html>
Let's get you something fun for free.
<Html>
<Title> Catch me! If you can... </title>
<Script>
Faces = '> "</--convex/^ B/XD/: P/≥ ω ≤/'. split ('/');
Function move (){
Var a = document. getElementById ('A ');
A. style. top = Math. floor (500 * Math. random () + "px ";
A. style. left = Math. floor (800 * Math. random () + "px ";
A. value = faces [Math. floor (6 * Math. random ()];
}
</Script>
<Input id = "a & qu ...... remaining full text>
What should I learn first if I want to learn JavaScript?
First, you should be familiar with html css, because most javascript operations search, delete, query, add, register listeners, and control the css of the style sheet.
The next step is to learn javascript, the javascript from getting started to the essence of "website development journey", which gives you a preliminary understanding of javascript and facilitates query. I mostly read books related to the Turing series, such as the Basic javascript tutorial, the javascript Dom programming art, and the javaScript Dom advanced programming, in this regard;
The focus of each book is different. It is recommended that you read different books. If you have a programming foundation, it is very fast to be familiar with a language. After all, the programming idea is the same. I have made several small websites by myself. I naturally know more when I practice it. It is hard to say how hard it is to learn the power of God and horse.
If you are looking for a job, you can find web Front-end development (web Front-end engineer). You can use Baidu for this job.