File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 11import React from 'react'
22import { Link } from 'react-router-dom'
3+ import './add-note.styles.css'
34
45export const AddNote = ( ) => {
56 return (
67 < >
7- < h1 > Add Note</ h1 >
8- < input id = "title" type = 'text' placeholder = 'Enter a Title' > </ input >
9- < textarea id = "body" placeholder = 'Enter the note' > </ textarea >
10- < button > ADDING NOTES COMING SOON!</ button >
8+ < h1 > Add Note (To Do)</ h1 >
9+ < form id = "add-note" action = '/' >
10+ < input id = "title" type = 'text' placeholder = 'Enter a Title' > </ input >
11+ < textarea id = "body" placeholder = 'Enter the note' > </ textarea >
12+ < button onClick = { e => e . preventDefault ( ) } type = "submit" > ADDING NOTES COMING SOON!</ button >
13+ </ form >
1114 < Link to = '/' > Go Back</ Link >
1215 </ >
1316 )
Original file line number Diff line number Diff line change 1+ # add-note * {
2+ display : block;
3+ margin-bottom : 15px ;
4+ }
You can’t perform that action at this time.
0 commit comments