Stanikmas, Lynn. (2024). Reddit-like Angular Study. GitHub.

Stanikmas, Lynn. (2024). Reddit-like Angular Study. GitHub.

Allows the user to post an article (with a title and a URL) and vote on the posts. Voting uses increment and decrement to dynamically sort articles by number of votes.

It has 2 components:

1 to hold the form that submits an article. It binds the submit value in the view to entered text in the inputs using the hash, resolve, syntax then gets the data into the component as objects of the type HTMLInputElement.

1 to hold the default and newly submitted articles using @Hostbinding to bind a class to the host app. It uses a model to isolate the data structures.

https://github.com/l-stanny/angular-studies




Angular Simple Reddit-like App Screen Capture




Comments

Popular posts from this blog

Angular + Google Cloud Firestore Upgrades

Stanikmas, Lynn. (2024). Angular Studies | Advanced Components. GitHub.