Skip to content

christophervigliotti/angular-complete-guide-basics-assignment-3

Repository files navigation

Assignment 3

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 .

Instructions

  1. Add a button which says 'Display Details'
  2. Add a paragraph with any content of your choice (e.g. 'Secret Password = tuna')
  3. Toggle the displaying of that paragraph with the button created in the first step
  4. Log all button clicks in an array and output that array below the secret paragraph (maybe log a timestamp or simply an incrementing number)
  5. Starting at the 5th log item, give all future log items a blue background (via ngStyle) and white color (ngClass)

Notes

Up And Running!

https://bit.ly/32r25z2

  • sudo npm i -g npm@6
  • sudo npm install
  • ng serve

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published