2021 Code Archive

fullscreen mode part 2

Mar 04, 21 0 25 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 arrow functions to create a simple table

Mar 01, 21 0 17 0

This code example shows how to declare arrow functions in JavaScript ES6 by creating a dynamic table that displays random numbers. By hassan mugabo Simple

csharp primitive data types

Feb 02, 21 0 28 0

This code example shows how to declare variable of primitive data types and access their values by displaying them in a textbox in a form when a user selects a given type. By hassan mugabo Simple

character codes

Feb 20, 21 0 39 0

Character Code is a simple code example that shows how to print system characters by using a while loop. The program asks the user to enter offset and range (separated by space) of the characters she wants to be printed. By hassan mugabo Simple

using prepared statements in java

Mar 04, 21 0 22 0

This is a simple program that uses java APIs for database connectivity to get data from myqli database and processes the resultset and display them in a form GUI. By hassan mugabo Intermediate

fullscreen mode part 1

Mar 04, 21 0 28 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

render multiple react elements

Feb 22, 21 0 14 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

upload multiple files in php and javascript part 2

Feb 22, 21 0 14 0

This code allows the user to upload a single file or multiple files by exploiting the new JavaScript APIs such xhr2, formData and many others By hassan mugabo Intermediate

html simple calculator

Jan 27, 21 0 79 1

A Simple calculator written in JavaScript and HTML intended for students who want to practice JavaScript concepts by writing real-world code example. By Rajab Intermediate

netpay calculator

Feb 20, 21 0 52 0

Annet requires a program to compute income tax and net salary for its employees. The company offers a tax relief of 650 ksh, for single employees and 1100 for married employees.The relief is deducted from the gross salaries to give a taxable income. By hassan mugabo Intermediate