Categories
HTML/CSS

Slide-In Navigational Bar in HTML and CSS

Here it the program written by my friend and fellow software engineer Sir Ernel. Thank you very much Sir Ernel for sharing your work to us.


I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details. If you want to advertise on my website kindly contact me also in my email address also. Thank you.


My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.My mobile number here in the Philippines is 09173084360. My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.


Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com


My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Program Listing

<html>
<head>
 <title>Menu Bar - Hide/Show</title>
 <style type="text/css">
 #top_bg{
 position: absolute;
 top: 0; left: 0;
 width: 100%; height: 50px;
 background-color: green;
 }
 #bar_btn{
 position: absolute;
 top: 0; left: 0;
 font-family: Calibri;
 font-size: 26px; color: white;
 font-weight: bold;
 word-spacing: 2px;
 width: 200px; padding: 8px;
 text-indent: 30px;
 background-color: darkGreen;
 }
 #bar_btn:hover{
 color:lightGreen;
 cursor: pointer;
 }
 .txt{
 position: absolute;
 top: 12px; right: 50px;
 font-family: Calibri;
 font-size: 20px; color: yellow;
 font-weight: bold;
 word-spacing: 2px;
 }
 .title{
 position: absolute;
 top: 200px; left: 0;
 width: 100%; text-align: center;
 font-family: Times; font-size: 150px;
 font-weight: bold;
 cursor: default;
 }
 #start{
 position: absolute;
 top: 390px; left: 0;
 width: 18%; margin-left: 41%; margin-right: 41%;
 padding: 10px; text-align: center;
 font-size: 22px; opacity:0.6;
 font-family: calibri; color: white;
 border:none; border-radius:10px;
 background-color: green;
 }
 #start:hover{
 opacity: 0.8;
 cursor: pointer;
 }
 #navbar{
 position: fixed;
 top: 48px; left: 0;
 width: 300px; height: 100%;
 padding: 20px; display: none;
 background-color: darkGreen;
 animation-name: navbar;
 animation-duration: 3s;
 -webkit-animation-name: navbar;
 -webkit-animation-duration: 3s;
 -moz-animation-name: navbar;
 -moz-animation-duration: 3s;
 }
 @keyframes navbar{
 from{left: -500px;}
 to{left: 0;}
 }
 @-webkit-keyframes navbar{
 from{left: -500px;}
 to{left: 0;}
 }
 @-moz-keyframes navbar{
 from{left: -500px;}
 to{left: 0;}
 }
 .head{
 padding: 30px;
 font-family:cursive;
 font-size: 38px; color: white;
 cursor: default; text-align: center;
 width: 100%;
 }
 .links{
 background-color: green;
 color: white;
 padding: 10px;
 font-family: Calibri; word-spacing: 2px;
 font-size: 20px; opacity: 0.7;
 }
 .links:hover{
 background-color: white;
 border-right: solid;
 border-right-width: 6px;
 border-right-color: Orange;
 color: black; opacity: 0.9;
 font-weight: bold;
 cursor: pointer;
 }
 </style>
 <script type="text/javascript">
 function display(){
 var bar = document.getElementById("navbar");
 bar.style.display = 'block';
 }
 function hidebar(){
 var bar = document.getElementById("navbar");
 bar.style.display = 'none';
 }
 </script>
</head>
<body>
<div id="top_bg"></div>
<div id="bar_btn" onclick="display()">MENU</div>
<div class="txt">Google</div>
<font class="title">Google</font>
<div id="start" onclick="display()">Get Started</div>
<div id="navbar">
 <table style="width: 100%" cellspacing="10">
 <tr><td class="head" align="center"><b>Google</b></td></tr>
 <tr><td class="links">Open Gmail Account</td></tr>
 <tr><td class="links">Create Dev. Account</td></tr>
 <tr><td class="links">Veriify An Account</td></tr>
 <tr><td class="links">Work And Earn Online</td></tr>
 <tr><td class="links">Learning Sites Available</td></tr>
 <tr><td class="links">Google Aspects/Categories</td></tr>
 <tr><td class="links" onclick="hidebar()">x Close</td></tr>
 </table>
</div>
</body>
</html>
Categories
JQuery

Lower Case in String Using jQuery

I wrote this simple program using jQuery to convert the given string into lower case format.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details. If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.unlimitedbooksph.com/

<html>
<head>
<title>Lower Case String in jQuery</title>
</head>
<script type="text/javascript" src="jquery-3.2.1.min.js">
</script>
<body>
<script type="text/javascript">
$(document).ready(function() { 
var str_title = "TECHNOLOGY IS CHANGING FAST.";	
var str_display;
document.write("<h2>Lower Case in jQuery</h2>");
document.write("<h2>Original Text    : " ,str_title,"</h2>");
str_lower_case = str_title.toLowerCase();
document.write("<h2> Lower Case Text : " ,str_lower_case,"</h2>");
});
</script>
</body>
</html>

Categories
C

Background changing using Javascript

This program is being written by my good friend and fellow software engineer Sir Ernel G. Fadriquilan thank you very much, Sir, for sharing your code to us.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details. If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/

Program Listing

<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>Document</title>
    <style>
    body{
     background-color: rgba(0, 0, 0, 0.10);
     -webkit-transition-duration: 5s;
     transition-duration: 5s;
     }
     #Xd{
     background-color: white; 
     padding: 5px;
     } 
     #Open{
     margin-top: 5px; 
     padding: 10px;
     }
     h1{
     -webkit-transition-duration: 5s;
  transition-duration: 5s; 
     }
     button{
     background-color: white;
     box-shadow: 2px 3px rgba(0,0,0,0.6) ;
     padding: 10px;
     margin-left: 10px;
     font-weight: bold;
     -webkit-transition-duration: 0.10s;
     transition-duration: 0.10s;
     }
     button:hover
     {
    box-shadow: none; 
    text-shadow: 1px 1px  rgba(0,0,0,0.6) ;
     }
    </style>
</head>
<body id="pax">
    <div id="Xd">
    <h1 align="center">
    This is change the color of the background.
    </h1>
    </div>
    <div id="Open">
    <button onmouseover="Green()">
    Green
    </button>
    <button onclick="Brown()">
    Brown 
    </button>
    <button onclick="Purple()">
    Purple
    </button>
    </div>
    <script>   
    function Green()
    {    document.getElementById("pax").style.backgroundColor ="green";
document.getElementById("Xd").style.color ="green";
     }
     function Brown()
     {     document.getElementById("pax").style.backgroundColor ="brown";
document.getElementById("Xd").style.color ="brown";
     }
     function Purple()
     {
document.getElementById("pax").style.backgroundColor = "purple";
document.getElementById("Xd").style.color ="purple";
     }
    </script>
</body>
</html>
Categories
JavaScript

Feet To Inches Converter Vice Versa in JavaScript

A simple program that I wrote using JavaScript programming language to ask value in feet or inches and it will convert it into feet or inches equivalent.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.


Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.
My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com


I am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/

Sample Program Output

Sample Program Output
<hmtl>
<head>
  <title>Feet To Inches Converter  Vice Versa in JavaScript</title>
 </head>
 <style>
   body {
    font-family:arial;
    size:12px;
  }
 </style>
<body onload="init()">
  <p>Feet To Inches Converter Vice Versa in JavaScript</p>
  <table cellspacing="6">
    <tr valign="top">
      <td><input id="feet" size="20" onfocus="reset()" /><br />Feet</td>
      <td><input type="button" value="Ok" onclick="convert()" title="Click here to convert" /></td>
      <td><input id="inches" size="20" onfocus="reset()" /><br />Inches</td>
      <td><input type="button" value="Clear All" onclick="reset()" title="Click here to clear the text box." /></td>
    </tr>
  </table>
  <script>
  
  var feet, inches;

function init(){
  feet = document.getElementById('feet');
  inches = document.getElementById('inches');
}

function reset(){
  feet.value = "";
  inches.value = "";
}

function convert(){
  var f = feet.value.replace(/ /, "");
  if (f){
    inches.value = f * 12;
  }
  
  var i = inches.value.replace(/ /, "");
  if (i){
    feet.value = i / 12;
  }
}

</script>
</body>
</html>
Categories
JavaScript

Inches To Centimeter Converter in JavaScript

I wrote this program to accept values in inches and then convert it into centimeter values using JavaScript programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.


Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com
I am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/

Sample Program Output
<hmtl>
<head>
  <title>Inches To Centimeter Converter in JavaScript</title>
 </head>
 <style>
   body {
    font-family:arial;
    size:12px;
  }
 </style>
<body onload="init()">
  <p>Inches To Centimeter Converter in JavaScript</p>
  <table cellspacing="6">
    <tr valign="top">
      <td><input id="inch" size="20" onfocus="reset()" /><br />Inches</td>
      <td><input type="button" value="Ok" onclick="convert()" title="Click here to convert" /></td>
      <td><input id="cm" size="20" onfocus="reset()" /><br />Centimeter</td>
      <td><input type="button" value="Clear All" onclick="reset()" title="Click here to clear the text box." /></td>
    </tr>
  </table>
  <script>
  
  var inf, cmf;

function init(){
  inf = document.getElementById('inch');
  cmf = document.getElementById('cm');
}

function reset(){
  inf.value = "";
  cmf.value = "";
}

function convert(){
  var i = inf.value.replace(/ /, "");
  if (i){
    cmf.value = i * 2.54;
  }
  
  var c = cmf.value.replace(/ /, "");
  if (c){
    inf.value = c / 2.54;
  }
}

</script>
</body>
</html>
Categories
NodeJS

Positive and Negative Number Checker in NodeJS

I wrote this simple program using NodeJS to ask the user to give a number and then the program will check and determine if the given number is a positive or negative number.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.


Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.
My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

Sample Program Output
// num.js
/* Positive and Negative Number Checker in NodeJS    */
/* March 22,2020  Thursday   4:57 PM  */
// Bacolod City,Negros Occidental Philippines
/* Written By: Mr. Jake R. Pomperada   */

var readline = require('readline');

var rl = readline.createInterface({
    input: process.stdin,
    output: process.stdout
});

console.log('\n');
console.log('Positive and Negative Number in NodeJS\n');
console.log('Author : Jake R. Pomperada');
console.log('\n');
rl.question('Enter first value : ', function (x) {
    var a = parseInt(x);


    if (isNaN(a))      {
        console.log('\n');
        console.log("The given value is not a number. Try Again.");
      } else if (a>=0) {
        console.log('\n');
        console.log('The given number ',a, ' is a Positive Number.');
      }
      else {
        console.log('\n');
        console.log('The given number ',a, ' is a Negative Number.');
      }
      console.log('\n');
      console.log('End of Program');
      rl.close();
    
});
Categories
JavaScript

Do-While Loop Using JavaScript

I wrote this program to ask the user to give a number and then it will display the series of numbers using the do-while loop statement in JavaScript programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.


Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.


My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com


I am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

Sample Program Output
Sample Program Output
<html>
 <head>
   <title>Do-While Loop Using JavaScript</title>
</head>   
<style>
    body {
        font-family: Arial, Helvetica, sans-serif;
        size:15px;
    }
</style>
<body>

    <h2>Do-While Loop Using JavaScript</h2>
    <p> Written By Jake R. Pomperada</p>
    
   Give a Number &nbsp;&nbsp;<input id="num_val" value="" />


     <br><br>
    <button onclick="Check()">Ok</button>
    <br>
    <p id="demo"></p>
    
    <script>
        // March 22, 2020    3:08 PM
        // Bacolod City, Negros Occidental
    function Check() {
      var num_val, result="";
      var i = 1;
      num_val = Number(document.getElementById("num_val").value);
       
       do 
       {
          result += "<br>The number is " + i +".";
          i++;
       } while (i <= num_val);

      document.getElementById("demo").innerHTML = result;
    }
    </script>
</body>
</html>
Categories
JavaScript

Positive and Negative Number Using JavaScript Ternary Operator

I wrote this program that will ask the user to give a number and then the program will check and determine if the given number by the user is a positive or negative number using JavaScript ternary operator as my programming language.
I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.


My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.


My mobile number here in the Philippines is 09173084360.My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.


Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.


My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.com


I am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

Screenshot if the given number is positive.
Screenshot of the given number is negative.
<html>
 <head>
   <title>Positive and Negative Number Using JavaScript Ternary Operator</title>
</head>   
<style>
    body {
        font-family: Arial, Helvetica, sans-serif;
        size:15px;
    }
</style>
<body>

    <h2>Positive and Negative Number Using JavaScript Ternary Operator</h2>
    <p> Written By Jake R. Pomperada</p>
    
   Give a Number &nbsp;&nbsp;<input id="num_val" value="" />


     <br><br>
    <button onclick="Check()">Ok</button>
    <br>
    <p id="demo"></p>
    
    <script>
    function Check() {
      var num_val, result;
      num_val = Number(document.getElementById("num_val").value);
      if (isNaN(num_val)) {
        result = "The given value is not a number. Try Again.";
      } else {
        result = (num_val < 0) ? "The given number is Negative." : "The given number is Positive.";
      }
      document.getElementById("demo").innerHTML = result;
    }
    </script>
</body>
</html>
Categories
JQuery

Addition of Three Numbers in JQuery

I  wrote this simple program that I wrote using JQuery a JavaScript library to ask the user to give three numbers and then the program will sum the values of three numbers and display the results on the screen.
I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.


Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.
My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

Sample Program Output
Sample Program Output
Program Listing

index.htm

<!doctype html>
<html>
<head>
     <script type='text/javascript' src='jquery/jquery.min.js'></script>
   <script type='text/javascript' src='add.js'></script>
</head>
<body>
 <h2> Addition of Three Numbers in JQuery </h2>
    <h4><i> Author Jake R. Pomperada,MAED-IT </i></h4>
 <br>
Enter the First number : <input id="first"><br>
Enter the Second number: <input id="second"><br>
Enter the Third number: <input id="third"><br><br>
The total sum is <input id="answer"><br><br>
<button id="btnAdd">Add</button>
<button id="btnClear">Clear</button>

</body>
</html>

add.js

// Code By Jake R. Pomperada,MAED-IT
// February 25, 2020

$(document).ready(function(){

$("#btnAdd").click(function(){
  var a,b,c;
a=Number(document.getElementById("first").value);
b=Number(document.getElementById("second").value);
c=Number(document.getElementById("third").value);
d= a + b+c;
document.getElementById("answer").value= d;

});



$("#btnClear").click(function(){

 document.getElementById('first').value="";
 document.getElementById('second').value="";
 document.getElementById('third').value="";
 document.getElementById('answer').value="";
 document.getElementById('first').focus();

});
});
Categories
JavaScript

Product of Two Numbers in JavaScript

I wrote this program using JavaScript to ask the user to give two numbers and then the program will compute the product of two numbers and display the results using an alert dialog box in JavaScript.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.


My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.
My mobile number here in the Philippines is 09173084360.My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.


Here in Bacolod City, Negros Occidental I also accepting computer repair, networking and Arduino Project development at a very affordable price.


My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/

Sample Program Output
Sample Program Output

Program Listing

index.html

<html>
  <head>
   <title>Product of Two Numbers in JavaScript</title>
  </head>
  <style>
      body {
       font-family: arial;
       font-size: 20px;
       font-weight: bold;
      }
   </style>
  <body>
  	
<script>
function product(){
var num1=document.form.text1.value;
var num2=document.form.text2.value;
var sum=Number(num1)*Number(num2);
alert("The product between " + num1 + " and " + num2 + " is " + sum + ".");
}
</script>
<form name="form"><br>
	<h4>Product of Two Numbers in JavaScript</h4>
<table>
<tr>
<td>Enter First Number:</td>
<td><input type="text" name="text1"></td>
</tr>
<tr>
<td>Enter Second Number:</td>
<td><input type="text" name="text2"></td>
</tr>
<tr>
<tr></tr><tr></tr>
<td><input type="button" value="Solve For Product" onclick="product();"></td>
</tr>
</table>
</body>
</html>