Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Water @ Hanh Solo Exquisite React Submission #46

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

seattlefurby17
Copy link

Assignment Submission: Exquisite React

Congratulations! You're submitting your assignment. Please reflect on the assignment with these questions.

Reflection

Prompt Response
Define in your own words: What does "state" in React mean? How do we use it?
Describe the relationships between the components on a high-level: which components were siblings? Which components were nested within each other?
How did this project differ from in-class examples?
How was this project similar to in-class examples?

Copy link

@CheezItMan CheezItMan left a comment

Choose a reason for hiding this comment

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

Nice work Hanh, you have a fully functional Exquisite corpse game. Well done.

You do have some tests failing and I tried to note what could be done to fix them. The biggest thing is some of the props were changed in components, but not in the tests.

@@ -3,13 +3,17 @@ import PropTypes from 'prop-types';
import './RecentSubmission.css';

const RecentSubmission = (props) => {

Choose a reason for hiding this comment

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

Just to note the tests for this component are passing, so you didn't need to skip them.

@@ -0,0 +1,46 @@
const FinalPoem = (props) => {

Choose a reason for hiding this comment

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

I'm not sure what this file is for.

@@ -3,23 +3,36 @@ import PropTypes from 'prop-types';
import './FinalPoem.css';

const FinalPoem = (props) => {

Choose a reason for hiding this comment

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

Just a note that it looks like the tests are failing because you used different props like isRevealed instead of isSubmitted. That's why it looks like the tests are failing.

<h3>Player Submission Form for Player #{ }</h3>

<form className="PlayerSubmissionForm__form" >
<h3>Player Submission Form for Player # { props.index }</h3>

Choose a reason for hiding this comment

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

This will cause all the tests in Game.test.js to pass.

Suggested change
<h3>Player Submission Form for Player # { props.index }</h3>
<h3>Player Submission Form for Player #{ props.index }</h3>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants