Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Conversation

@GuzideGuzelbey
Copy link

@GuzideGuzelbey GuzideGuzelbey commented Mar 29, 2025

I guess I will focus on responsiveness this week. I couldn't focus on that functionality yet.

Thank you in advance:)

note: Please consider only this commit f1b8941

let numberOfPlanets = 0;
const [planets, setPlanets] = useState(planetData);
const selectedPlanets = planets.filter((planet) => planet.isSelected);
const numberOfPlanets = selectedPlanets.length;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job using the derived state here!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you :)

</section>
<section className="card">
<h2>Possible destinations</h2>
{planets.map((planet) => (

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job using map here!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you again :)

@desafree
Copy link

Nice job on focusing on the style as well 🫡

@GuzideGuzelbey
Copy link
Author

I wish I had more time to work on responsiveness, but could not. Thank you for your time :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants