Step numbers in todo app headers

This commit is contained in:
Elizabeth Craig
2019-03-05 02:58:04 -08:00
parent 46094abe9d
commit bdb17109a1
22 changed files with 40 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ export class TodoHeader extends React.Component<any, any> {
render() {
return (
<header>
<h1>todos - step1-05 exercise</h1>
<h1>todos <small>(1.5 exercise)</small></h1>
<div className="addTodo">
<input className="textfield" placeholder="add todo" />
<button className="submit">Add</button>

View File

@@ -8,6 +8,10 @@ h1 {
text-align: center;
}
small {
font-size: 0.5em;
}
.addTodo {
display: flex;
}