2021 Code Archive

php dynamic breadcrumb

Feb 16, 21 0 38 0

This code example shows how to create a real dynamic breadcrumb in php. The code is packed as a min php project that you can copy and run in your localhost environment. I have added some javascript code to make a nice popup menu and a current active menu highlighter. By hassan mugabo Intermediate

bubble sort algorithm

Feb 16, 21 0 80 0

Bubble sort Algorithmis a code example that shows how to write a CSharp program to sort a list of elements using Bubble sort algorithm. By hassan mugabo Simple

how to bind methods in reactjs

Jan 27, 21 0 251 0

This code example demonstrates how to bind methods to components in reactJs. The code creates a simple button that changes its state by clicking the button. The button uses a click handler that is bound to the component. By hassan mugabo Simple

fullscreen mode part 1

Mar 04, 21 0 64 0

FullScreen is a code example that show how to use java.awt API for graphics which allow drawing.This program displays in full-screen mode and loads some images after 5 seconds it disappears from the screen and the screen returns to normal. By hassan mugabo Intermediate

fullscreen mode part 2

Mar 04, 21 0 65 0

FullScreen is a code example that show how to use java.awt API for graphics which allow drawing.This program displays in full-screen mode and loads some images after 5 seconds it disappears from the screen and the screen returns to normal. By hassan mugabo Intermediate

using string methods in javascript

Mar 04, 21 0 90 0

This code example shows how to use the Set and Map collections in JavaScript. The code allows the use to observe the behavior by adding,deleting,removing and finding items in the collection By hassan mugabo Intermediate

swapping algorithm

Feb 16, 21 0 66 0

This code example shows how to write an algorithm for wrapping strings by displaying some country names and swapping them. By hassan mugabo Simple

business card reactjs demo

Jan 27, 21 0 96 1

This code example shows how to design a business card using reactjs. In this example we used the concept of combining react components to make up a business card. By hassan mugabo Intermediate

regular expressions part 1

Jan 29, 21 0 33 0

Regular Expression Demo is a code example that shows how to use regular expressions in java. This code example uses many APIs including Streams, Regular expressions, lambda expressions, Swing Components and many more. By hassan mugabo Advanced

render multiple react elements

Feb 22, 21 0 37 0

This code sample shows how to render multiple react elements. You should download the react js file before testing this code example. By hassan mugabo Simple