Skip to content

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

License

Notifications You must be signed in to change notification settings

full-stack-web-developer-and-designer/PHP-one-page-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-one page site

This repository contains a simple single-serving web site that randomly changes one of two text that is please visit mirnes.glamocic.com and visit my page. Then, in the same time is changed the background color of the page, font style, font size, font color, and text-align. All this was done with the help of the PHP function rand. There is implemented 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 project can be used to modify anything else using the rand function.


To check how it looks, click on the image or on the preview .

mockup of personal website mirnesglamocic.com by web developer, UI/UX and web designer Mirnes Glamočić, Jajce, BiH

PREVIEW

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages