Code examples

code-examples

PHP string cleaner

In this example I used two regular expressions to clean the inserted text of all symbols, extra hyphens and extra white spaces. So, the end result is clean text structure that contains lowercase words, and only one hyphen between each word. This has many use case scenarios, for example, you can use it in a custom CMS for inserting clean blog titles, or url-s, based on the text that the author inserts in a textfield.

code-examples

PHP + Bootstrap-4 shopping cart

This is a Bootstrap-4 + PHP + jQuery responsive shopping cart example, utilizing Php filter_input function, and a few other concepts and basic control flow statements. Not fancy, but very effective.

code-examples

Ecmascript-6 JavaScript Todo Application

Material CSS + Ecmascript-6 Todo list application example. Materialize CSS gives the app google-like look and feel, and Ecmascript defines the functionality - adding and removing the tasks.

code-examples

jQuery Bootstrap-4 contact form validation

Interactive Bootstrap-4 & jQuery contact form with multiple client side validations. Very simple, but useful.

code-examples

JavaScript 15-puzzle game

15 Puzzle JavaScript game Application demonstrating basic JavaScript control flow statements.