Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/full-stack-web-developer-and-designer/php-function-rand
PHP single-serving site which use random data for change the background color of the page, text, font style, font size, font color, and text-align
https://github.com/full-stack-web-developer-and-designer/php-function-rand
mirnesglamocic php phpfunction
Last synced: 7 days ago
JSON representation
PHP single-serving site which use random data for change the background color of the page, text, font style, font size, font color, and text-align
- Host: GitHub
- URL: https://github.com/full-stack-web-developer-and-designer/php-function-rand
- Owner: Full-Stack-Web-Developer-and-Designer
- License: mit
- Created: 2023-01-29T18:09:47.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-29T23:54:02.000Z (almost 2 years ago)
- Last Synced: 2023-10-31T04:30:41.099Z (about 1 year ago)
- Topics: mirnesglamocic, php, phpfunction
- Language: PHP
- Homepage: https://php-function-rand.mirnesglamocic.repl.co/
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP function rand
This repository contains a simple single-serving site that randomly changes the background color of the page, text, font style, font size, font color, and text-align. All this was done with the help of the PHP function rand. Also, there is a built-in PHP function count that counts the elements of the array, so regardless of the number of elements in the array, they will always be displayed randomly every time the web page is opened or refreshed. With array_delete function color matching for text and background is prevented.Of course, this example can be used to modify anything else using the rand function.
---
To check how it looks, click on the preview and then on the green run button.
##
[PREVIEW](https://replit.com/@MirnesGlamocic/PHP-function-rand?v=1)