Posts

Midterm Machine Project #3 Solution

<!--------------------------------------------------------------------------------------------------------   Machine Problem 3     Project Name: None     Project Files: Airline.html     Project Description: Filght Reservation System     Programmer: Jun Y. Ercia     Language: JavaScript     Date Created: 7/26/2019     Date Modified: 7/26/2019 ----------------------------------------------------------------------------------------------------------> <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <title>Machine Problem 1</title>      <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">     <style type="text/css">         body {            ...

Midterm Machine Project #2 Solution

<!--------------------------------------------------------------------------------------------------------   Machine Problem 2     Project Name: None     Project Files: WordLength.html, Gymnastic.js     Project Description: Find the word length occurrences  in a given text.     Programmer: Jun Y. Ercia     Language: JavaScript     Date Created: 7/26/2019     Date Modified: 7/26/2019 ----------------------------------------------------------------------------------------------------------> <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <title>Machine Problem 3</title>      <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">     <style type="text/css">         body {      ...

Midterm Machine Project #1 Solution

<!--------------------------------------------------------------------------------------------------------   Machine Problem 1     Project Name: None     Project Files: Gymnastic.html, Gymnastic.js     Project Description: Find the low score, high score, and average score among seven judge's score in gymnastic competition.     Programmer: Jun Y. Ercia     Language: JavaScript     Date Created: 7/26/2019     Date Modified: 7/26/2019 ----------------------------------------------------------------------------------------------------------> <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <title>Machine Problem 2</title>      <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">     <style type="text/css">      ...

Lab Activity #8 solution

<!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <title>Lab Activity 8</title> </head> <body>     <script type="text/javascript">         document.write(`Task 1 <br/>`);         document.write(`--------------------------------------------------------------------<br/>`)             class CanOfCoke {                     constructor() {             this.closed = true             this.sips = 5           }           isOpen()  {                return !this.closed  ...