title: Passing a variable from one component to another
body: <p>I have a quiz app built with React, that after the user answers it, it shows his score and then he needs to insert his email to send the results to the site owner.</p>
  <p>I have a main component called App.js with the quiz and I saved his score like this:</p>
  <pre><code>const[score,setScore] = useState(0);
  </code></pre>
  <p>Now I want to show this score in my component &quot;Score.js&quot;, so I need to get this score from App.js and send it to Score.js.</p>