You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Matt Huntington 61c7a5087b
change a feature
9 years ago
..
comments adding comments app 9 years ago
README.md change a feature 9 years ago

README.md

Exercises with code bases

Adding a Feature

Look around the comments app. This is just a basic app that displays a list of comments

  • Alter it so that each comment has an author, represented by a string.
  • Add a feature that allows you to add more comments
    • This should be all within the same component
    • Visually, it should consist of two text inputs (one for author, one for comment) and a submit button
  • Add a feature that allows you to delete comments
  • Add a feature that allows you to edit comments
    • You should be able to click on a comment, and the text will be replaced by two text inputs (one for author, one for comment)

Changing a Feature

Look again at what you did in the comments app. It's all in one component, which isn't very modular. Put the list of comments into one component and put the new comments form into another component. Use observables to communicate between the two.