search
HomeWeb Front-endHTML TutorialWant to learn web front-end well? What else do you need to master?
Want to learn web front-end well? What else do you need to master?Jun 24, 2017 pm 02:04 PM
webgetting Startedbeginnerfront endstudyhow

How to get started with web front-end, first we have to start with what is a junior web front-end engineer:

According to my idea, I divide front-end engineers into four categories: entry-level, junior, intermediate, and senior. Level,

Entry level refers to understanding what the front end is (actually many people still don’t know what the front end is), and understanding basic html, css and javascript syntax (just search for these language things on the Internet There are many, many. Basic syntax is the most important thing in the entire technical system. Leading Web technology tutorials), you can create pages based on the designer's design drawings without considering compatibility. You have learned about some frameworks. Use (such as jQuery, zepto, bootstrap, etc. that are bad but still awesome).

After you have gone through the entry-level stage, you have already understood what the front-end does, and you have learned the basic syntax and can make some simple pages independently, then you need to continue learning to reach the level of a junior front-end engineer. Junior front-end engineers need to know a lot. They need to have a clear understanding of the entire front-end and be proficient in using various technologies.

Junior front-end engineer: The first thing you need to know is how to deal with the compatibility of various browsers (for example, what is the difference between createElement in IE browser, etc.). Now basically every company is recruiting When working, they will be required to be proficient in html5, css3, and javascript. This proficiency means that they can be picked up at their fingertips.

The following will talk about what specific knowledge junior front-end engineers should learn, and then they need to understand various CSS preprocessors and post-processors, as well as use common front-end MV* frameworks (angularjs, backbone , reactjs, etc.) and know the principles of these frameworks. In addition, you must be proficient in using nodejs, be able to use various front-end construction tools based on node (grunt, gulp, etc.), be proficient in using github or gitlab, and be familiar with modularization and componentization. , engineering, and semantics. Finally, you need to know how to develop mobile pages and how to optimize the performance of a page.

Technical system for junior web front-end engineers

1.HTML part

The first thing is to master the use of some common tags and their various attributes. I have summarized these commonly used tags as follows:

html: The root element of the page. head: The head tag of the page, which is the container for all head elements. body: The main tag of the page, where the content displayed on the page is placed. title: The title of the page. meta: Located at the head of the document, it provides meta-information about the page, including keywords, descriptions, etc. link: Define the relationship between the document and external resources. The most common use is to introduce style sheets. script: script tag, you can place js script code in this tag, or you can use the src attribute of this tag to introduce an external tag. style: style tag, css code can be written in this tag. a: Hyperlink, the href attribute represents the place to be linked to, and the target attribute represents the opening method. img: image tag, src attribute indicates the location of the image. form: form element, its internal input, select, textarea and other tags are relatively important. div: Define the partition or section in the document. You can use div to perform page layout and other operations. In addition, tags such as ul, li, p, button, iframe, p, and table are also commonly used. Semantic tags such as nav, section, article, header, aside, and footer also need to be understood.

In addition to understanding the above tags, you also need to have a certain understanding of some new HTML5 APIs:

audio and video tags.

Canvas: Defines graphics, such as charts and other images.

The accept attribute of the input tag, email, phone, url and other types.

getElementByClassName gets an element node based on the class name.

Multiple file selectionMultiple file selection attributes.

html import, template

process tags, webGL and other contents.

There are also some knowledge points to know:

1. The role of doctype. 2. The principles and differences between unicode, utf8 and other encodings. 3. How to optimize page performance. 4. Different advantages of image formats such as png, jpg, webp, and gif. 5.The difference between HTML inline elements and block-level elements. 6. Commonly used head tags in mobile web development. 7. Web semantics. 8. Principle of caching in browsers.

2. CSS part

Regarding css, my opinion is to download a css reference manual in chm format online, and then type each one according to what is written in the manual.

css is roughly divided into the following knowledge points:

① Positioning layout

1. The 7 values ​​​​of the position attribute (static | relative | absolute | fixed | center | page | sticky) What are the functions and differences?

2. Implement glyph layout or three-column layout (left and right widths are fixed, and the middle adapts to the screen).

3. Floating and clearing floating methods, flex layout, grid layout.

② Box model

1. Margin, padding, and border are the three attributes.

2. Telescopic box related content.

3.Multi-column Layout Module multi-column layout model.

③ Text font

1. Force line breaks or no line breaks, clear blanks.

2. Text alignment, size (how to set chrome fonts smaller than 12px), indentation, and conversion.

3. Unit (em, rem, px, etc.), color (rgb, rgba, hls).

④ Transformation, transition and animation

1. The role and compatibility of various values ​​of transform.

2.Transition animation type, the principle of Bezier curve.

3. Various settings of animation animation, @keyframes rules.

4. Browser redrawing and rearranging.

⑤ Selector

1. The classification, weight and priority of the selector.

2. Which attributes can be inherited and which attributes cannot be inherited.

3. What are pseudo-classes and pseudo-elements respectively, and what are their functions.

The above are all basic things. In addition to these basic contents, you need to understand CSS preprocessors such as Less, Sass, and stylus. This will greatly improve your CSS development efficiency. You also need to understand it. CSS post-processors such as Autoprefixer and PostCSS.

3.JavaScript part

I won’t talk about the basic knowledge of js here. I put js according to the syntax level and The levels used are divided into two parts.

According to the syntax level:

The first is the object-oriented aspect of javascript: implementing encapsulation, inheritance and polymorphism in javascript.

① Encapsulation: In js, encapsulation can be achieved through closures, scopes and scope chains, the role of ES6's const and let. ② Inheritance: prototype chain-based inheritance, constructor-based inheritance, combined inheritance, parasitic inheritance, etc., plus the ES6 class keywords, prototype and __proto__. ③ Polymorphism: In JavaScript, polymorphism is implemented using arguments. A lot of content will be derived about arguments: 1. The role of caller, callee and other methods of arguments. 2. The functions of apply and call methods are different. 3. Use Array.prototype.slice.call to convert an array object into an array. 4. Various methods of array, such as shift, splice, push, filter, map, reduce, forEach, etc.

Then there are Js design patterns, such as the three factory patterns, builder patterns, etc.

Finally, what does this represent in different situations.

According to the level of use:

The first and most important thing is ajax, the principle of ajax, and the cross-domain method of ajax: jsonp, location.hash using iframe, postMessageAPI, websocket, server Agents and more.

Then there are the protocol headers, status codes and other contents of the tcp protocol, udt protocol and http protocol. Browser cache, client storage content: localstorage, sessionstorage, indexDB, cookies, etc.

Finally, there are some new js APIs, such as file reading (fileReader), fetch, Promise, Web Sockets, etc. You can go to caniuse to see what new things are there.

What I said above are just some general concepts. I have listed some of the things that need to be mastered in front-end HTML, CSS and JavaScript. There is still a lot of knowledge that we need to know in the front-end field. This requires Everyone should make their own conclusions in the process of learning and working.

If you encounter any problems during the learning process or want to obtain learning resources, you are welcome to join the learning exchange group

The above is the detailed content of Want to learn web front-end well? What else do you need to master?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
成为C语言专家:推荐的五个必备编译器成为C语言专家:推荐的五个必备编译器Feb 19, 2024 pm 01:03 PM

从初学者到专家:五个必备的C语言编译器推荐随着计算机科学的发展,越来越多的人对编程语言充满了兴趣。而C语言作为一门广泛应用于系统级编程的高级语言,一直受到了程序员们的喜爱。为了写出高效、稳定的代码,选择一款适合自己的C语言编译器是很重要的。本文将介绍五个必备的C语言编译器,供初学者和专家们参考选择。GCCGCC,即GNU编译器集合,是最常用的C语言编译器之一

WooCommerce税务指南:适合初学者的指南WooCommerce税务指南:适合初学者的指南Sep 04, 2023 am 08:25 AM

现在我们已经了解了WooCommerce产品及其相关设置,接下来让我们了解一下WooCommerce的税务配置选项。税收设置作为在线商店所有者,您永远不会想搞乱税务规则和问题。WooCommerce在这方面为您提供帮助,提供多种选项来解决所有税务设置,这些设置可能会因您所在的国家/地区和个别商店的要求而异。可以在以下位置找到这些选项:WooCommerce->设置->税。进入税务设置选项卡后,您将看到一个主要的税收设置部分以及三种不同的税级。这些是:税务选项标准费率降低利率零利率税收

C++和Python,哪个更适合初学者?C++和Python,哪个更适合初学者?Mar 25, 2024 am 10:54 AM

C++和Python,哪个更适合初学者?在这个信息化浪潮席卷全球的时代,编程能力已经成为一项必备技能。而在学习编程的过程中,选择一门合适的编程语言显得尤为重要。在众多编程语言中,C++和Python都是备受初学者关注的两大热门选择。那么,C++和Python到底哪个更适合初学者呢?以下将从各方面对比两者的优劣,以及为什么选择某一种语言更有助于初学者的编程入门

Pandas初学者指南:HTML表格数据读取技巧Pandas初学者指南:HTML表格数据读取技巧Jan 09, 2024 am 08:10 AM

初学者指南:如何用Pandas读取HTML表格数据引言:在数据处理和分析中,Pandas是一个强大的Python库。它提供了灵活的数据结构和数据分析工具,使得数据处理变得更加简单高效。Pandas不仅可以处理CSV、Excel等格式的数据,还可以直接读取HTML表格数据。本文将介绍如何使用Pandas库读取HTML表格数据的方法,提供具体的代码示例,帮助初学

编程初学者应该优先学习C语言还是C++编程初学者应该优先学习C语言还是C++Mar 18, 2024 pm 03:15 PM

标题:编程初学者应该优先学习C语言还是C++?在编程领域,C语言和C++是两种非常重要的编程语言,它们都有自己独特的特点和优势。对于初学者来说,选择学习哪种语言可能会有一些困惑。本文将就这个问题展开讨论,以及给出一些具体的代码示例来帮助初学者更好地了解两种语言的不同之处。首先,让我们来看一下C语言。C语言是一种功能强大且广泛应用的编程语言,它是从汇编语言发

Python初学者必学:掌握lambda函数的基础用法Python初学者必学:掌握lambda函数的基础用法Feb 02, 2024 pm 06:41 PM

初学者必备:掌握Python中lambda函数的基本使用方法,需要具体代码示例概述:Python是一种简单易学的编程语言,它以其简洁、灵活的语法吸引了众多程序员的喜爱。在Python中,lambda函数是一种特殊的匿名函数,它可以在需要函数的地方直接定义,并且无需给它一个名字。本文将介绍lambda函数的基本使用方法,并提供具体的代码示例,以帮助初学者更好地

初学者必读:如何根据需求选择合适的Django版本?初学者必读:如何根据需求选择合适的Django版本?Jan 19, 2024 am 08:20 AM

对于初学者而言,选择合适的Django版本是一个重要而且必须要面对的问题。Django作为一个高效的Web框架拥有大量的用户和开发者,因此它也拥有多个版本以满足不同产品和应用的需求。但是,如何根据项目需求选择合适的Django版本呢?下面我们将通过一些实例来帮助大家选择适合自己的版本。确认所用数据库Django支持多个数据库,包括MySQL,Postgre

使用matplotlib制作散点图的初学者指南使用matplotlib制作散点图的初学者指南Jan 17, 2024 am 09:58 AM

matplotlib是Python中最常用的数据可视化库之一。它提供了各种绘图选项,包括线图、柱状图、散点图等等。本篇文章将教你如何使用matplotlib绘制散点图,同时提供具体的代码示例,以帮助初学者快速上手。一、导入matplotlib模块在开始使用matplotlib绘制散点图之前,首先,需要导入相关的Python模块。代码如下:importpa

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),