PHP Taskbook Level 5.2
When entering a page, output a random number from the range from 1 to 100 into the paragraph.
Given a form with a button. After submitting the form, find the sum of numbers from 1 to 100 and display the result on the screen.
A form with a button and an input is given. A string is entered into the input. By pressing the button, determine how many characters are in the entered string.
The following data structure is given:
<?php
$data = [1, 2, 3, 4, 5];
?>
Using this data, create the following layout:
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
</ul>