Skip to content

Commit

Permalink
Update contact.js
Browse files Browse the repository at this point in the history
removed form labels
  • Loading branch information
dchoinie committed Mar 2, 2020
1 parent 1c1b66e commit 7b523a7
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions src/components/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ const Contact = () => {
data-netlify="true"
className="flex flex-col md:w-1/2 mb-4 md:p-4 md:mb-0"
>
<label htmlFor="contactName" className="hidden">
Name
</label>
<input
id="contactName"
type="text"
Expand All @@ -32,9 +29,7 @@ const Contact = () => {
className="p-1 text-lg text-gray-700 mb-1 border border-gray-200 rounded"
required
/>
<label htmlFor="contactEmail" className="hidden">
Email
</label>

<input
id="contactEmail"
type="email"
Expand All @@ -43,19 +38,15 @@ const Contact = () => {
className="p-1 text-lg text-gray-700 my-1 border border-gray-200 rounded"
required
/>
<label htmlFor="contactPhone" className="hidden">
Phone
</label>

<input
id="contactPhone"
type="tel"
name="contactPhone"
placeholder="Phone"
className="p-1 text-lg text-gray-700 my-1 border border-gray-200 rounded"
/>
<label htmlFor="contactMessage" className="hidden">
Message
</label>

<textarea
id="contactMessage"
name="contactMessage"
Expand Down

0 comments on commit 7b523a7

Please sign in to comment.