What is the clean code?
The Clean code represents the Programmer's experience. For example, According to Bjarne Stroustrup,the inventor of c++ presented his thoughts on clean code, He said that code should be ellegant and efficient(valuable) to make the bugs to hide, he is communicating with us about complex code.
According to books:
features of clean code:
Let's discuss the common mistakes on the portfolio(even seniors ) ?Why developers are not getting the calls, because their personal brand is affected.
1-Top level element should be one per page means only one h1 is allowed.
to ,we have 6 tags, as technology grows there will be new rules introduced, how ai bots crawle a blog or article, per page you should have only one h1.
2-Semantic html adoption accolades your project to ai friendly,and screen readers read it, it will generate the greater value.
3-
should be replaced with :This will help you improve accessibility and Search Engine Optimization. If you want to create a card and you should deploy the section on your code, section symbolizes the part.
Section defines the devision
Today code is fine,but mess can grow in future,so we need to careful, we should develop new exactly working code.
Semantic Elements in HTML
The discipline of paying attention to details is crucial for the projects, We should pay attention to Memory leaks , accessibility issues (If you utilize the symentic elements,your code will become ai friendly).




Top comments (0)