- Use php to create 100 divs such that all the values inside divs must be a prime number in descending order starting from 99991.
- Write a jQuery function which will hide the div is a user clicks on any of the prime number.
- Create a PhysicalProduct class with all the necessary functionality.
- Create a DigitalProduct class with all the necessary functionality.
- Create a Cart class with all the necessary functionality which supports multiple carts - can add PhysicalProduct and DigitalProduct.
Assumptions - PhysicalProduct and DigitalProduct differs with only one flag - isDigital = true. Feel free to create as many supporting classes as necessary.