Skip to content

abonner1/angular-replace-lab-g-416

 
 

Repository files navigation

Understanding "replace"

Objectives

  • Use the replace property

Instructions

Let's recreate our success and error messages. Create two directives called successMessage and errorMessage in the SuccessMessage.js and ErrorMessage.js files. The directives should render <div>Woohoo! Success!</div> and <div>Oh no, an error occurred!</div> respectively.

Make them both utilize the replace option!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 64.9%
  • HTML 35.1%