I am looking for a good way of doing this:
I'll have a section in app with 'routeroutlet' where every route will contain a question with some answers. User will select an answer.
Depending on that answer, in the same time, as a result, in another component that is present every time(apart from routes) a specific square will be colored, known by a value somehow sent by the current route
How can I realize this communication, or if I am looking at it wrong, you are welcome to give another solutions.
PS. Sorry for not editing but I'm writing from phone
!!!Components are siblings, on the same level