title: is there a way to write the code shorther?
body: <p>im trying to make a calculator for school, and this is my code. is it possible to write it shorter? i feel like i can make this even better. Also im new to php and trying to learn and write it clean.</p>
  <pre class="lang-html prettyprint-override"><code>&lt;html&gt;
  &lt;h1&gt;Kortingsprijs berekenen&lt;/h1&gt;
  
      &lt;form method=&quot;post&quot; action=&quot;&quot;&gt;
          &lt;label&gt;Prijs in Euro's&lt;/label&gt;
          &lt;input type=&quot;text&quot; name=&quot;prijs&quot; value=&quot;&lt;?php if (isset($_POST['prijs'])) {echo $_POST['prijs'];} ?&gt;&quot;&gt;
          &lt;br&gt;
          &lt;input class=&quot;kortingProcent&quot; type=&quot;radio&quot; name=&quot;korting&quot; value=&quot;20&quot; /&gt;20%
          &lt;br&gt;
          &lt;input class=&quot;kortingProcent&quot; type=&quot;radio&quot; name=&quot;korting&quot; value=&quot;30&quot; /&gt;30%
          &lt;br&gt;
          &lt;input class=&quot;kortingProcent&quot; type=&quot;radio&quot; name=&quot;korting&quot; value=&quot;40&quot; /&gt;40%
          &lt;br&gt;
          &lt;input class=&quot;kortingProcent&quot; type=&quot;radio&quot; name=&quot;korting&quot; value=&quot;50&quot; /&gt;50%
          &lt;br&gt;&lt;br&gt;
          &lt;input type=&quot;submit&quot; name=&quot;Berekenen&quot; value=&quot;Berekenen&quot;/&gt;
      &lt;/form&gt;
  &lt;/html&gt;
  &lt;/strike&gt;
  
  </code></pre>