PHP Taskbook Level 5.1

Задание 1

A form with two inputs is given. Numbers are entered into the inputs. After the form is submitted, output the sum of the numbers entered.

Задание 2

When you visit the page, display how many days are left until the New Year.

Задание 3

The following data structure is given:

php<?php
  $data = [1, 2, 3, 4, 5];
?>

Using this data, create the following layout:

html<p>
  1
</p>
<p>
  2
</p>
<p>
  3
</p>
<p>
  4
</p>
<p>
  5
</p>