This article provides an example of simple form validation in Angular 9+ by building out a signup form.
Validators, a set of functions provided by the framework.
Angular provides us with a
Validators class that contains a set of static functions that cover common form input types:
These functions take in a form control and return an error map if the validation fails (or
null if the input…
thiskeyword. You should use them in almost all cases.”
I tell you what you guys, this week really kicked my butt. It was definitely one of those valley weeks where I felt the exertion of trying to get better at my job while having to sit with where I am right now.
Whenever I get down about the uphill battle of work, I turn to my why, the reasons I want to be a developer. Those reasons are many, but the most important ones are:
About a month ago, I decided I was going to get serious about posting on Medium. I hadn’t ever really considered Medium as an option, and I was looking for a new outlet to write, teach, and communicate. I chose Medium because it’s where I seemed to keep ending up when researching or Googling things I was interested in.
This month I published two to three times per week, though I was a little more zealous earlier on. …
This week I’ve been continuing to focus on improving my efficiency when it comes to working in the front end.
Digging right on into how to effectively use Flexbox and CSS Grid is a great way to make framing up a new UI element quick!
Key article takeaways:
I am a leaf on the tree
Tiny and green
Broadening and lengthening through my summer
Drying in colorful rebellion in the autumn of my season
The wind, the rain, they are tests, it is true
But, clinging to the branch I’ve been given
I hear the rustle of countless others
Just like me
Though, finally, I’ll fall to the earth
Browned and brittle
I am the tree
Repeating my task, year by year, surviving
The layer of each hot, fruitful summer
Each frigid, dark winter
I will grow old for a time, To be felled…
Second, this article does an awesome job explaining (with pictures!) how the call stack works in the browser:
mailto: has always seemed weird to me. As someone who uses a mac for projects and gmail…
I am a little less than a year into a new career. I am currently a web application developer with little formal training. Throughout my life, the most amazing experiences I’ve had were because I listened for opportunities and said yes to the awesome ones, even if I wasn’t particularly ready to do whatever the job or task required. I always figure I’ll pick things up along the way.
Every time I’ve jumped off a new job cliff, or picked up some freelance work I was pretty sure I could google how to do, I go through the same cycle…
routerLinkto set up click events and pass data to the route
In another tutorial I published recently, I walked through using input and output properties to pass data around your Angular app. We also used those properties to manage what the user could see in the UI. This setup definitely worked and is a great way to get child components the…
Any change is difficult. Big, life-altering changes are by their nature going to bring a lot of discomfort and angst. No big change like this comes without needing to learn new things — probably after the change has started and probably more quickly than you’re ready for.
When I decided to change my career and become a developer, I expected it to be hard. I’d already been trying to learn to code on my own and through a wonderful after-work program through my employer. …