This is one of several repos that I created for the course "Angular - The Complete Guide (2022 Edition)". For a complete list of repos created for this course: https://gist.github.com/christophervigliotti/92e5b3b93cbe9d630d8e9d81b7eb6636 .
- Add a button which says 'Display Details'
- Add a paragraph with any content of your choice (e.g. 'Secret Password = tuna')
- Toggle the displaying of that paragraph with the button created in the first step
- Log all button clicks in an array and output that array below the secret paragraph (maybe log a timestamp or simply an incrementing number)
- Starting at the 5th log item, give all future log items a blue background (via ngStyle) and white color (ngClass)
- appendChild example https://stackblitz.com/edit/angular-append-to-element?file=src%2Fapp%2Fapp.component.ts
- sudo npm i -g npm@6
- sudo npm install
- ng serve