A simple php test to demonstrate my skillset for Design in DC
This theme was made via PHP, NPM, Gulp, Sass, Bootstrap and jQuery.
Create a PHP script that fetches data from an API, processes the data, and displays it on a webpage.
- Do not use JavaScript data tables library for table functionality.
- Bootstrap can be used for styling, but not for pagination or filtering.
- Use the provided API endpoint https://api-sports.io/documentation/nba/v2 to fetch data.
- Process the fetched data to extract the following information: List all the games in the table with pagination Each row should contain:
- ID
- Date
- Teams
- Status
- Score
- Arena
- Display the extracted information on a webpage using HTML.
- Handle any potential errors that may occur during the API request.
- Use proper error handling and logging techniques.
- Ensure the fetched data is validated and sanitized before processing it.
- Use object-oriented programming principles and design patterns where applicable.
- Write clean, readable, and well-documented code.
- Use appropriate PHP libraries and tools for the task.
- Use proper HTML and CSS to make the webpage visually appealing.
I developed a webpage according to the specifications.
- Download Repository as a Zip
- Open
index.php
on a PHP Server
Need more details? Great!
Send me a message
MIT
Free Stuff, Hell Yeah!