Deck of Cards
Objective
For this assignment, you will be practicing creating HTML using PHP array and loops by generating and displaying a standard deck of cards on the page.
Requirements
Complete the following tasks:
- Convert the index.html file to be a PHP file.
- Using arrays, loops, and the files provided, complete the tasks below.
- Generate all 52 cards of a deck.
- Use the
rand()
function to generate 52 random cards
Example
You can find a completed version of the assignment below:
https://mtm6405-deck-of-cards.herokuapp.com