search
HomeWeb Front-endHTML TutorialThree kinds of thinking that front-end engineers should have_html/css_WEB-ITnose



If you are a genius-level engineer (you can leave immediately) and can accomplish many things independently, you can be a geek, because I believe that no one will not admire you. But reality is reality. Most people are not geniuses, and we do not work alone in the workplace. We need teamwork, coordination and cooperation, and we need to consider more things besides code.

Front-end engineers are not just responsible for receiving information, collecting data, and making responses. Of course, there is nothing wrong with just doing these, but we need to communicate with the back-end engineers, we also need to communicate with the design, and we also need to communicate with the PM. How to do this is more beneficial to these three parties?

 Logical thinking

When you start writing a certain piece of code, think about where it will be used and will it be used repeatedly? Will it change in the future? If so, how can it be changed? Although there are many changes in the general web page structure, there is also a basis, and this basis can be estimated in advance. There is no case that will not be "uncorrected". Many times you have to make changes while doing it, and it may even cause a big change. When changes and modifications are really needed, what are your strategies? These need to be thought through and based on logic.

Normally, professional designers design a web page with elements that are highly homogeneous, proportional or contrasting, so the code can be reused. So why do you need to learn to use CSS preprocessor (Sass, stylus, less) and write a Mixin or a variable? You will find it troublesome at first to use it, but once you use it, you will never go back. It not only improves your efficiency but also improves your efficiency. Your accuracy.

The world of engineers is like martial arts. Everyone practices independently, and there are new ones every day. Everyone is curious and goes to practice, hoping to become a martial arts master one day. This is also the potential to improve your knowledge and expertise. If you have no curiosity and see and understand too little, your logic will naturally not keep up with the times. You must keep learning to hone your logical thinking.

A certain level of logical thinking is your programming expertise. In addition to being able to write, it is also maintainable and readable. When things are based on a good logic, the chances of errors are lower and the people you work with will be happier.

If you can do one thing well, you are a master; if you can do one thing well and predict the future, you are an expert.

 Business Thinking

PM, boss or client will ask you, "How much time do you need?" If it is too short, you may not be able to finish it; if It's too long and impossible. This is a question of how to answer and how to die. Sometimes, you need to change your stance and think from the perspective of a third party. Our degree of completion may be different from their degree of completion.

We divide the details of the case into two situations, one is one in which you already have experience and can estimate the time; one is one in which you have never done it or you are very unfamiliar with it, and you have no basis for time estimation.

Then come up with a minimum standard that they can accept. For example, for an App website, the minimum standard requires a homepage and a link to download 2 buttons of the app. These can be estimated. As for the rest, you need to research it and then give a more well-founded time. It is very, very important to estimate how long it will take to complete a project, because you are consuming a group of people's time, not your own (unless you are doing it alone, or you are the boss). If your estimate is wrong, it will be delayed later. It doesn't matter if you can't finish it. The most important thing is to solve the problem and propose your solution. What method can achieve the purpose of solving the problem.

Putting forward solutions from a different perspective is helpful to things, the company or customers. Customers won’t care that you can’t solve the problem of not being able to see a 20-column table on a mobile web page. But customers are happy to hear you say that this kind of Table doesn't look good and you can change the display method. Customers don't really care whether you use Rails or PHP (some do care, they pretend they understand), they can just shop and post.

Front-end engineers may be easily exposed to customer complaints, so if some things are not thought through, it will be very troublesome. Make a website. If you were a netizen or a customer, would you be satisfied with the website you made?

 Design Thinking

Many times, front-end engineers are themselves designers, but there are also many who are front-end engineers and back-end engineers. Design and front-end are inseparable. of. Of course, the design I’m talking about here doesn’t really require you to create a picture or complete design drawing.

”It’s not just what it looks like and feels like. Design is how it works.” ?Steve Jobs

Front-end design refers to how a picture or element is executed, created, moved or eliminated. What is the effect of this design when viewed on different widths and heights and on different devices? Taking this into consideration is your design thinking. To turn the designer's picture into a living web page, you need to think from the designer's perspective so that you can fully express the concept of the design drawing.

Earlier, I received a "design drawing" with an "X" on it. I asked the customer what it was and he said it was "return to the previous page". Why was it "X" when returning to the previous page? ", this is not a popup or a modal. At the same time, there are many "X"s of different colors and sizes on this picture, which represent "delete", "close" and "slide down" respectively. This is not reasonable. design.

Design thinking will directly affect the code structure and web page structure you write, because you cannot see where the focus of the design is and how to write to achieve the effect required by the designer. You cannot organize it well. Your structure and elements cannot put the web page together properly. Not only does this greatly reduce your efficiency, but the results you produce will also be inconsistent. There may be several buttons on a website that should be the same but turn out to be "similar" but different because you used several classes and different structures to make them. You didn't think through the design in the first place.

 What can you do

 1. If you have nothing to do, practice Qigong. Just go to FB for a few minutes. You don’t need to linger for too long.

2. Make a website, play it yourself, let your friends play it, and ask them for their opinions? Ask a few more questions.

3. Look at the design drawings and think about what you would do.


The above are the three kinds of thinking that front-end engineers should have_html/css_WEB-ITnose. For more related content, please pay attention to the PHP Chinese website (www.php.cn) !







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
HTML vs. CSS vs. JavaScript: A Comparative OverviewHTML vs. CSS vs. JavaScript: A Comparative OverviewApr 16, 2025 am 12:04 AM

The roles of HTML, CSS and JavaScript in web development are: HTML is responsible for content structure, CSS is responsible for style, and JavaScript is responsible for dynamic behavior. 1. HTML defines the web page structure and content through tags to ensure semantics. 2. CSS controls the web page style through selectors and attributes to make it beautiful and easy to read. 3. JavaScript controls web page behavior through scripts to achieve dynamic and interactive functions.

HTML: Is It a Programming Language or Something Else?HTML: Is It a Programming Language or Something Else?Apr 15, 2025 am 12:13 AM

HTMLisnotaprogramminglanguage;itisamarkuplanguage.1)HTMLstructuresandformatswebcontentusingtags.2)ItworkswithCSSforstylingandJavaScriptforinteractivity,enhancingwebdevelopment.

HTML: Building the Structure of Web PagesHTML: Building the Structure of Web PagesApr 14, 2025 am 12:14 AM

HTML is the cornerstone of building web page structure. 1. HTML defines the content structure and semantics, and uses, etc. tags. 2. Provide semantic markers, such as, etc., to improve SEO effect. 3. To realize user interaction through tags, pay attention to form verification. 4. Use advanced elements such as, combined with JavaScript to achieve dynamic effects. 5. Common errors include unclosed labels and unquoted attribute values, and verification tools are required. 6. Optimization strategies include reducing HTTP requests, compressing HTML, using semantic tags, etc.

From Text to Websites: The Power of HTMLFrom Text to Websites: The Power of HTMLApr 13, 2025 am 12:07 AM

HTML is a language used to build web pages, defining web page structure and content through tags and attributes. 1) HTML organizes document structure through tags, such as,. 2) The browser parses HTML to build the DOM and renders the web page. 3) New features of HTML5, such as, enhance multimedia functions. 4) Common errors include unclosed labels and unquoted attribute values. 5) Optimization suggestions include using semantic tags and reducing file size.

Understanding HTML, CSS, and JavaScript: A Beginner's GuideUnderstanding HTML, CSS, and JavaScript: A Beginner's GuideApr 12, 2025 am 12:02 AM

WebdevelopmentreliesonHTML,CSS,andJavaScript:1)HTMLstructurescontent,2)CSSstylesit,and3)JavaScriptaddsinteractivity,formingthebasisofmodernwebexperiences.

The Role of HTML: Structuring Web ContentThe Role of HTML: Structuring Web ContentApr 11, 2025 am 12:12 AM

The role of HTML is to define the structure and content of a web page through tags and attributes. 1. HTML organizes content through tags such as , making it easy to read and understand. 2. Use semantic tags such as, etc. to enhance accessibility and SEO. 3. Optimizing HTML code can improve web page loading speed and user experience.

HTML and Code: A Closer Look at the TerminologyHTML and Code: A Closer Look at the TerminologyApr 10, 2025 am 09:28 AM

HTMLisaspecifictypeofcodefocusedonstructuringwebcontent,while"code"broadlyincludeslanguageslikeJavaScriptandPythonforfunctionality.1)HTMLdefineswebpagestructureusingtags.2)"Code"encompassesawiderrangeoflanguagesforlogicandinteract

HTML, CSS, and JavaScript: Essential Tools for Web DevelopersHTML, CSS, and JavaScript: Essential Tools for Web DevelopersApr 09, 2025 am 12:12 AM

HTML, CSS and JavaScript are the three pillars of web development. 1. HTML defines the web page structure and uses tags such as, etc. 2. CSS controls the web page style, using selectors and attributes such as color, font-size, etc. 3. JavaScript realizes dynamic effects and interaction, through event monitoring and DOM operations.

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)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.