Open github-actions[bot] opened 2 years ago
Fragen:
Wie ziehe ich das IMG aus der API?
Ist List das richtige Format für die Darstellung der Inhalte der API?
Wird die Darstellung im Anschluss über das CSS geregelt? Also z.B. Darstellung als Grid?
@cosinushh vielleicht kannst du das hier ja sehen wenn ich einen Pull Request erstelle?
Sorry, sehe jetzt erst diese Fragen.
IMG aus API: Wenn Du über Deine Characters magst, dann kannst Du auch noch das Prop „image“ übergeben. „image“ kommt als String, den Du in der Card Komponente dem img-Tag als ’src’ gibst (src={image}).
List für die Darstellung: Ja, eine ul als Container und dann li-Elemente als Cards wäre semantisch wahrscheinlich ideal.
Darstellung per CSS: Das kannst Du beispielsweise in den styled-components machen.
Am 30.09.2022 um 19:24 schrieb Jannik Uekötter @.***>:
Fragen:
Wie ziehe ich das IMG aus der API?
Ist List das richtige Format für die Darstellung der Inhalte der API?
Wird die Darstellung im Anschluss über das CSS geregelt? Also z.B. Darstellung als Grid?
@cosinushh https://github.com/cosinushh vielleicht kannst du das hier ja sehen wenn ich einen Pull Request erstelle?
— Reply to this email directly, view it on GitHub https://github.com/JannikUekoetter/react-and-morty/issues/4#issuecomment-1263825149, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARE5ODP447WV2EQKDIYBHJTWA4O3FANCNFSM6AAAAAAQYYVUZM. You are receiving this because you were mentioned.
Description
After creating the first page, we want now to fetch the data from the
rickandmorty
API and render the result (the characters) here.ToDos
ToDo
tab intoIn Progress
tabrickandmorty
API (only fetch the first 20 characters)pull request
pull request
In Progress
tab intoDone
tab