This post was last edited by lcofjp on 2017-12-23 18:23 I have worked in MCU development for several years, doing schematics, drawing boards, writing programs, device selection, testing, etc. The work was trivial and the knowledge content was not high. I felt tired and turned to being a programmer. But I still warn everyone not to change careers easily. It is not easy to find a job without relevant work experience. Changing careers means starting from scratch, especially don't quit your job. It took me two or three months to find my current job, and I was on a short leash for a while. I have been working in this front-end job for less than a month, so I am still a novice in the front-end, but I promised to share some web front-end things with the manager, so I will briefly talk about the content related to web front-end development so that electricians can also understand the front-end. There are many experts in the forum, please don't laugh at me. If there are any mistakes, please forgive me and correct me. The front-end of the web has only emerged in recent years. The reason for this rise is probably the widespread use of AJAX and the improvement of browser performance. Many tasks that are more suitable for front-end processing have been transferred from the back-end. The emergence of node.js has also given JavaScript a place on the server side, and front-end technology is still expanding into desktop applications and mobile applications with the help of some frameworks, so the front-end has become popular. The basis of the front-end of the web is nothing more than three major components: HTML, CSS, and JavaScript (JS for short). HTML is the content, CSS controls the presentation of the content, and JavaScript is the most powerful and can control everything. HTML is the cornerstone. A page can be without CSS and JS, but it is impossible to be without HTML. CSS and JS are both introduced through HTML. The content of HTML is also relatively simple, just some basic elements, such as
Among these, some essential ones are html, head, and body. If these elements are not present in the HTML file, the browser will automatically add them. The first line of the HTML file should declare the content of the document, usually to declare that it is an HTML5 file. After the browser knows the document type, it can parse the document according to the corresponding rules. The next heavyweight element is the head . It is necessary to inform the browser of the text encoding type of this document as early as possible so that the browser can parse the document faster, so this element should be placed in the first position of the head. HTML5 introduces more semantic tags, as well as some special tags, such as
I know why there are so many advertisements on the forum. The '&' character in the post content is not escaped, and the entity characters I wrote are eaten up and displayed.
{:1_124:} I'm looking at this myself recently, it's quite interesting. Thanks, Captain
I read this article carefully. The frameworks mentioned by Yagami are good. I think I will take a look at these frameworks after I am familiar with the basics. Is JS not complicated? I can download special effects from the Internet, modify them myself, and use them, right? Has anyone written those complicated special effects?
Congratulations to the captain for his successful transformation. Look up to the top management.
Posted by Gao Jin on 2017-12-23 19:45 I read this article carefully. The frameworks mentioned by Yagami are good things. I think I will take a look at these frameworks after I am familiar with the basics. JS is...[/quote] For general pages, jQuery+bootstrap is enough, and general special effects can be done with jQuery+corresponding plug-ins. jQuery has many plug-ins.
Congratulations to the captain for finding a job and congratulations to the captain for his successful transformation
lcofjp posted on 2017-12-23 19:55 For general pages, jQuery+bootstrap is enough, and general special effects can be done with jQuery+corresponding plug-ins. jQuery has many plug-ins. [/quote] I am particularly afraid of writing CSS. I used to write backgrounds with .net, and the pages used CSS written by others. I feel very scared to write CSS myself without a graphic tool
Posted by Gao Jin on 2017-12-23 20:02 I am particularly afraid of writing CSS. I used .net to write backends before, and used CSS written by others for the pages. I don’t have a graphical tool to write CSS myself, and I feel...
CSS is not difficult. After reading this authoritative guide to CSS, you will be an expert
Just treat it as an extension. After one year, the front end is not as good as the embedded system. It is neither high nor low. It still has to go up or down. Although it is very hot and popular, ST is also popular, but popularity cannot prove that they are not garbage. Although the above is not pleasant to hear, it is the fact. I just want the captain to have a smooth career. The only purpose is to wait for the captain to sell the board for 5 yuan.
[quote]freebsder posted on 2017-12-23 20:54 Just use it as an extension. After one year in the field, the front-end is not as exciting as the embedded system. It is neither high nor low. You still have to go up or down. Although it is very hot, ST is the same...
Writing code is very suitable for me. I have been writing code for two years and I don’t feel bored. Instead, I am very interested.
[quote]lcofjp posted on 2017-12-23 21:07 Coding is very suitable for me. I have been coding for two years and I don’t feel bored, but very interested.
Writing code is completely different from the previous paragraph. Writing code is too broad, and the previous paragraph is very narrow. It is precisely because of the narrowness that I have extra time and energy to read so many books in other languages and other fields. Captain, just be happy, and go ahead.
[quote]freebsder posted on 2017-12-23 21:25 Writing code and front-end are two completely different things. Writing code is too broad, and front-end is very narrow. It is precisely because of the narrowness that I have extra time and energy to learn so many other languages...
I have no house, no wife, and if I give up my board, what is the meaning of life?
It seems that the pit at the front end is also very big
Merry Christmas! The host is very attentive and speaks from experience!
Alas, I switched from desktop software/services to embedded systems. I don’t know much about hardware and I feel a little dizzy (it’s a company project requirement, not my decision).
Details
Published on 2021-6-7 16:25
I know why there are so many advertisements on the forum. The '&' character in the post content is not escaped, and the entity characters I wrote are eaten up and displayed.
I read this article carefully. The frameworks mentioned by Yagami are good. I think I will take a look at these frameworks after I am familiar with the basics. Is JS not complicated? I can download special effects from the Internet, modify them myself, and use them, right? Has anyone written those complicated special effects?
For general pages, jQuery+bootstrap is enough, and for general special effects, jQuery+corresponding plug-ins can do the job. jQuery has many plug-ins.
Details
Published on 2017-12-23 19:55
Posted by Gao Jin on 2017-12-23 19:45 I read this article carefully. The frameworks mentioned by Yagami are good things. I think I will take a look at these frameworks after I am familiar with the basics. JS is...
For general pages, jQuery+bootstrap is enough, and general special effects can be done with jQuery+corresponding plug-ins. jQuery has many plug-ins.
I was particularly afraid of writing CSS. I used .net to write backends and used CSS written by others. I was very intimidated to write CSS myself without a graphic tool.
Details
Published on 2017-12-23 20:02
lcofjp posted on 2017-12-23 19:55 For general pages, jQuery+bootstrap is enough, and general special effects can be done with jQuery+corresponding plug-ins. jQuery has many plug-ins.
I am particularly afraid of writing CSS. I used to write backgrounds with .net, and the pages used CSS written by others. I feel very scared to write CSS myself without a graphic tool
Posted by Gao Jin on 2017-12-23 20:02 I am particularly afraid of writing CSS. I used .net to write backends before, and used CSS written by others for the pages. I don’t have a graphical tool to write CSS myself, and I feel...
CSS is not difficult. After reading this authoritative guide to CSS, you will be an expert
Just treat it as an extension. After one year, the front end is not as good as the embedded system. It is neither high nor low. It still has to go up or down. Although it is very hot and popular, ST is also popular, but popularity cannot prove that they are not garbage. Although the above is not pleasant to hear, it is the fact. I just want the captain to have a smooth career. The only purpose is to wait for the captain to sell the board for 5 yuan.
Writing code is very suitable for me. I have been writing code for two years and I don’t feel bored. Instead, I am very interested in it.
Details
Published on 2017-12-23 21:07
freebsder posted on 2017-12-23 20:54 Just use it as an extension. After one year in the field, the front-end is not as exciting as the embedded system. It is neither high nor low. You still have to go up or down. Although it is very hot, ST is the same...
Writing code is very suitable for me. I have been writing code for two years and I don’t feel bored. Instead, I am very interested.
Writing code and the front-end are two completely different things. Writing code is too broad, while the front-end is very narrow. It is precisely because of the narrowness that I have the extra time and energy to read so many books in other languages and other fields. Captain, just be happy, and go ahead.
Details
Published on 2017-12-23 21:25
lcofjp posted on 2017-12-23 21:07 Coding is very suitable for me. I have been coding for two years and I don’t feel bored, but very interested.
Writing code is completely different from the previous paragraph. Writing code is too broad, and the previous paragraph is very narrow. It is precisely because of the narrowness that I have extra time and energy to read so many books in other languages and other fields. Captain, just be happy, and go ahead.
freebsder posted on 2017-12-23 21:25 Writing code and front-end are two completely different things. Writing code is too broad, and front-end is very narrow. It is precisely because of the narrowness that I have extra time and energy to learn so many other languages...
I have no house, no wife, and if I give up my board, what is the meaning of life?