Skip to main content

Posts

Convert HTML website to Angular project

If you are a front-end developer, chances are you have at least one portfolio made only with the basics: HTML, CSS and JavaScript. No framework usage. In my experience, every successful developer should first learn the basics and make sure they're good at understanding and applying that knowledge. When you reach a certain stage, using some kind of framework in your projects will make sense and the urge to do so will come naturally.   Photo by Tudor Baciu at Unsplash   What might be the reason to start using JavaScript framework? There could be numerous reasons, depending on what your project is about, what are your plans as a developer , or needs of a client . For example, I have built my portfolio just to showcase my work and to put my developer profile on the market . There was no need to use any kind of framework for that. However, later on I started getting ideas on how to improve my portfolio. I started thinking about other things I could add on my website, and in t...

Reducing and minimizing HTML in Angular components

If you are thinking about converting your site or application to a project that uses JavaScript framework, this post might be helpful. In my earlier web development days, I wrote a personal portfolio website using nothing more but HTML and CSS, and just a little bit of JavaScript. However, my experience and knowledge base grew larger with time, and I realized that things I want to do would be done better if I am using a framework. So, I decided to convert to Angular.   Photo by Gabriel Heinzer on Unsplash   What does Angular do better? Say you have a block of HTML elements that displays your personal projects. It might look something like this: < div class = "projects" > < div class = "item" > < a href = "https://www.missionautomate.com" target = "_blank" > < img src = "img/projects/ProjectMA.jpg" alt = "project one" /> </ a > </ div > ...