PHP Taskbook Level 5.8
Given a form with a select. Make it so that after the form is submitted, the select saves the user's choice.
Ask the user for their birthday in the format 2025-12-31. After submitting the form, display how many days are left until their next birthday.
Given an array. Make it so that when the page is refreshed, a random element of the array is displayed in the paragraph.
A form with an input is given. Numbers are entered into the input, separated by commas. After sending the form, find the sum of the numbers entered and output it to the paragraph.
A form with an input is given. The input contains numbers separated by commas. After sending the form, check if the number 13 is among the entered numbers.
A form with an input is given. A six-digit number is entered into the input. After sending the form, check that the number is a lucky ticket, i.e. the sum of the first three digits is equal to the sum of the second three digits.