# My first React project using create-react-app

**URL:** <https://forum.freecodecamp.org/t/my-first-react-project-using-create-react-app/433759>\
**Category:** I Built This\
**Created:** [December 4, 2020, 4:19pm UTC](https://forum.freecodecamp.org/t/my-first-react-project-using-create-react-app/433759 "2020-12-04T16:19:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dead-Newbie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dead-newbie/32/178487_2.png) [@Dead-Newbie](https://forum.freecodecamp.org/u/Dead-Newbie)\
**Post date:** [December 4, 2020, 4:19pm UTC](https://forum.freecodecamp.org/t/my-first-react-project-using-create-react-app/433759/1 "2020-12-04T16:19:50Z")

</div>

Hi! I couldn’t find any rules about not posting non-tutorial projects here, so here goes.

This was made using create-react-app using functional components and state hooks. The app takes in user data and auto-fills a formal letter. I had set up a forward geocoding API to validate address data, allow the user to choose the validate address, and then update the state. However the API served the data over http which caused a mixed content error that I could not resolve.

There was also the issue of protecting the API key which was not resolved therefore there is an unused POSSTACK\_APIKEY environment variable.

So I decided to forgo the API and you will see this in the comments. The link to the codesandbox is below.

I’m looking for any feedback to improved this React app.

> **[vigilant-chaum-v892j - CodeSandbox](https://codesandbox.io/s/vigilant-chaum-v892j)**
>
> vigilant-chaum-v892j by Dead-Newbie using @testing-library/jest-dom, @testing-library/react, @testing-library/user-event, react, react-dom, react-scripts, typescript, web-vitals

---

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [December 4, 2020, 5:06pm UTC](https://forum.freecodecamp.org/t/my-first-react-project-using-create-react-app/433759/2 "2020-12-04T17:06:51Z")

</div>

Hey @Dead-Newbie!

I think your form looks good.

When I purposefully put in gibberish the form does tell me to follow the correct format but it doesn’t tell the user what the correct format is. Maybe a custom message like “your zip code needs to be at least five numbers long” or something like that.

Hope that helps!

---

<div class="post-metadata">

**Author:** ![Dead-Newbie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dead-newbie/32/178487_2.png) [@Dead-Newbie](https://forum.freecodecamp.org/u/Dead-Newbie)\
**Post date:** [December 4, 2020, 5:12pm UTC](https://forum.freecodecamp.org/t/my-first-react-project-using-create-react-app/433759/3 "2020-12-04T17:12:42Z")

</div>

Yes, that definitely helps -\> user experience!

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 1:07pm UTC](https://forum.freecodecamp.org/t/my-first-react-project-using-create-react-app/433759/4 "2021-06-01T13:07:50Z")

</div>

Closed on June 1, 2021, 1:07pm UTC


