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

Ampers: Angela Poland #30

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added some css to newCardForm
  • Loading branch information
AngelaPoland committed Jun 12, 2018
commit d1e8a3e472a0e7147f815059c51feb620522dca4
17 changes: 11 additions & 6 deletions src/components/NewCardForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,30 @@ class NewCardForm extends Component {

render() {
return(
<form onSubmit={this.onFormSubmit} >
<div className="new-card-form">
<p className="new-card-form__header">Create new card:</p>
<form onSubmit={this.onFormSubmit} className="new-card-form__form" >
<div>
<label hmtlFor="text">Text: </label>
<label hmtlFor="text" className="new-card-form__form-label">Text: </label>
<input
name="text"
value={this.state.text}
onChange={this.onFieldChange}
type="text"/>
type="text"
className="new-card-form__form-textarea"/>
</div>
<div>
<label hmtlFor="emoji">Emoji: </label>
<label hmtlFor="emoji" className="new-card-form__form-label" >Emoji: </label>
<input
name="emoji"
value={this.state.emoji}
onChange={this.onFieldChange}
type="text"/>
type="text"
className="new-card-form__form-textarea"/>
</div>
<input type="submit" value="Add a Note" />
<input type="submit" value="Add a Note" className="new-card-form__form-button" />
</form>
</div>
);
}

Expand Down