Posts by vinicius martins • 13 points
3 posts
-
0
votes1
answer117
viewsA: ngFor in array within another array with API links
I managed to do it using Forkjoin: getFilmesById(id: number): Observable<any> { return this.http.get<any>(`${this.url}/films/${id}`) .pipe(switchMap(movie => new Observable(observer…
-
0
votes1
answer117
viewsQ: ngFor in array within another array with API links
I am using the API publishes swapi to list Wars star movies in a list and within each movie I want to list the characters, the json response of the api is this: { "title": "A New Hope",…
-
1
votes1
answer139
viewsQ: Operator and Ruby
I would like that code to take two numbers and show the numbers divisible by the first, the second and the two. However I could not make the use of AND for this case, because the div_pelos2 array…
rubyasked vinicius martins 13