From f8f976901b1d7152ef165500512bfbb819a46ecb Mon Sep 17 00:00:00 2001 From: Jacob Olshanskiy <101607869+JacobProgrammer@users.noreply.github.com> Date: Thu, 6 Oct 2022 23:00:08 -0700 Subject: [PATCH 1/7] Delete HomePersonal.java --- HomePersonal.java | 53 ----------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 HomePersonal.java diff --git a/HomePersonal.java b/HomePersonal.java deleted file mode 100644 index 02a636e..0000000 --- a/HomePersonal.java +++ /dev/null @@ -1,53 +0,0 @@ - -/** - * Calculates Home Prices and Preferences - * - * @author (Jacob Olshanskiy) - * @version (10-6-22) - */ -import java.util.Scanner; - -public class HomePersonal -{ - public static int price() - { - Scanner price = new Scanner(System.in); - System.out.println("What is your price range"); - int readPrice = price.nextInt(); - price.nextLine(); - return readPrice; - } - - public static String greeting() - { - Scanner greeting = new Scanner(System.in); - System.out.println("Great let me do some research"); - String readGreeting = greeting.nextLine(); - return readGreeting; - } - - public static void main(String[] args) - { - System.out.println("Hello! I will help you find the home of your dreams"); - Scanner homestate = new Scanner(System.in); - System.out.println("What state are you shopping in?"); - String readHomestate = homestate.nextLine(); - if (readHomestate == "Alabama") - { - int userPrice = price(); - greeting(); - if(userPrice > 1000000) - { - System.out.println("The optimal city for you to shop in is Orange Beach"); - } - else if(999 > userPrice && userPrice > 500) - { - System.out.println("The optimal city for you to shop in is Vesatvia Hills"); - } - else - { - System.out.println("The optimal city for you to shop in is Hoover"); - } - } - } -} \ No newline at end of file From f88ba05c6faa00ae4018d86f593af281cd6fc6ca Mon Sep 17 00:00:00 2001 From: Jacob Olshanskiy <101607869+JacobProgrammer@users.noreply.github.com> Date: Thu, 6 Oct 2022 23:02:01 -0700 Subject: [PATCH 2/7] Delete buttons.css --- buttons.css | 76 ----------------------------------------------------- 1 file changed, 76 deletions(-) delete mode 100644 buttons.css diff --git a/buttons.css b/buttons.css deleted file mode 100644 index da7c2c0..0000000 --- a/buttons.css +++ /dev/null @@ -1,76 +0,0 @@ -.subscribe-button { - background-color: rgb(200, 0, 0); - color:white; - border: none; - border-radius: 2px; - cursor: pointer; - margin-right: 8px; - margin-left: 20px; - padding-top: 10px; - padding-bottom: 10px; - padding-left: 16px; - padding-right: 16px; - transition: opacity 0.15s; - vertical-align: top; -} -.subscribe-button:hover{ - opacity: 0.8; -} - -.subscribe-button:active{ - opacity: 0.5; -} - -.join-button { - background-color: white; - border-color: rgb(6, 95, 212); - border-style: solid; - border-width: 1px; - color:rgb(41, 118, 211); - border-radius: 2px; - cursor: pointer; - padding-top: 9px; - padding-bottom: 9px; - padding-left: 16px; - padding-right: 16px; - transition: backround-color 0.15s, - color 0.15s; -} - -.join-button:hover{ - background-color:rgb(6, 95, 212); - color:white; -} - -.join-button:active{ - opacity: 0.7; -} - -.tweet-button { - background-color: rgb(29, 155, 240); - color: white; - border: none; - height: 36px; - width: 74px; - border-radius: 18px; - font-weight: bold; - font-size: 15px; - cursor: pointer; - margin-left: 8px; - vertical-align: top; -} - -.tweet-button:hover{ - box-shadow:5px 5px 10px rgba(0, 0, 0, 0.15); - transition: box-shadow 0.15s; -} - - /* color = text color*/ - /*Backround-color is Property and red is color*/ - /*rgb is more precise color*/ - /*All max num = 255 is white and 0 is black*/ - /*tranistion makes opacity fade smoothly*/ - /*pointer = hand on button*/ - /*border-radius = rounded corners*/ - /* px = pixels*/ - /* Hover = pseudo class*/ \ No newline at end of file From 312ffef22205ab4103eae75e985ce23b398e1698 Mon Sep 17 00:00:00 2001 From: Jacob Olshanskiy <101607869+JacobProgrammer@users.noreply.github.com> Date: Thu, 6 Oct 2022 23:02:40 -0700 Subject: [PATCH 3/7] Delete buttons.html --- buttons.html | 89 ---------------------------------------------------- 1 file changed, 89 deletions(-) delete mode 100644 buttons.html diff --git a/buttons.html b/buttons.html deleted file mode 100644 index a336a3c..0000000 --- a/buttons.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - \ No newline at end of file From aebd519bf8a4eb1736e84e12e010e801f20a40c6 Mon Sep 17 00:00:00 2001 From: Jacob Olshanskiy <101607869+JacobProgrammer@users.noreply.github.com> Date: Thu, 6 Oct 2022 23:02:48 -0700 Subject: [PATCH 4/7] Delete text.css --- text.css | 54 ------------------------------------------------------ 1 file changed, 54 deletions(-) delete mode 100644 text.css diff --git a/text.css b/text.css deleted file mode 100644 index 54d73a4..0000000 --- a/text.css +++ /dev/null @@ -1,54 +0,0 @@ -p{ - font-family:Arial; - margin-top: 0; - margin-bottom: 0; - /*This all applies to each class*/ -} - -.video-title{ - font-weight: bold; - font-size: 18px; - width: 280px; - line-height: 24px; - margin-bottom: 5px; - /*font-family customizes font from default Times New Roman*/ -} - -.video-stats{ - font-size: 14px; - color: rgb(96,96,96); - margin-bottom: 20px; - /*This selector is more specific than p{} so it takes priority and shows in final output*/ -} - -.video-author{ - font-size: 14px; - color: rgb(96,96,96); - margin-bottom: 20px; -} - -.video-description{ - font-size: 14px; - color: rgb(96,96,96); - width:280px; - line-height: 22px; - margin-bottom: 100px; -} - -.apple-text{ - margin-bottom: 50px; - font-size: 14px; - background-color: rgb(227,65,64); - color: white; - text-align: center; - padding-top: 18px; - padding-bottom: 18px; -} - -.shop-link{ - cursor: pointer; -} - -.shop-link:hover{ - text-decoration: underline; -} \ No newline at end of file From 134e09b0284eb6520ade2ee59ae880792b84955b Mon Sep 17 00:00:00 2001 From: Jacob Olshanskiy <101607869+JacobProgrammer@users.noreply.github.com> Date: Thu, 6 Oct 2022 23:02:58 -0700 Subject: [PATCH 5/7] Delete website.html --- website.html | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 website.html diff --git a/website.html b/website.html deleted file mode 100644 index 7c50ded..0000000 --- a/website.html +++ /dev/null @@ -1,8 +0,0 @@ - -

paragraph of text

- - -> -Link to YouTube - - From 8aac69a278a82160f331556edd3d34f7c3160a2b Mon Sep 17 00:00:00 2001 From: Jacob Olshanskiy <101607869+JacobProgrammer@users.noreply.github.com> Date: Thu, 6 Oct 2022 23:03:05 -0700 Subject: [PATCH 6/7] Delete youtube.html --- youtube.html | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 youtube.html diff --git a/youtube.html b/youtube.html deleted file mode 100644 index c431be1..0000000 --- a/youtube.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - Youtube.com Clone - - - - - - -

- Talking Tech and AI with Google CEO Sundar - Pichai! -

- -

- Marques Brownlee -

- -

- 3.4M Views · 6 months ago -

- - \ No newline at end of file From a700adb7d0cc3dfbd05ebac6e367e411499ec23e Mon Sep 17 00:00:00 2001 From: Jacob Olshanskiy <101607869+JacobProgrammer@users.noreply.github.com> Date: Thu, 6 Oct 2022 23:03:32 -0700 Subject: [PATCH 7/7] Add files via upload --- HomePersonal.java | 53 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 HomePersonal.java diff --git a/HomePersonal.java b/HomePersonal.java new file mode 100644 index 0000000..02a636e --- /dev/null +++ b/HomePersonal.java @@ -0,0 +1,53 @@ + +/** + * Calculates Home Prices and Preferences + * + * @author (Jacob Olshanskiy) + * @version (10-6-22) + */ +import java.util.Scanner; + +public class HomePersonal +{ + public static int price() + { + Scanner price = new Scanner(System.in); + System.out.println("What is your price range"); + int readPrice = price.nextInt(); + price.nextLine(); + return readPrice; + } + + public static String greeting() + { + Scanner greeting = new Scanner(System.in); + System.out.println("Great let me do some research"); + String readGreeting = greeting.nextLine(); + return readGreeting; + } + + public static void main(String[] args) + { + System.out.println("Hello! I will help you find the home of your dreams"); + Scanner homestate = new Scanner(System.in); + System.out.println("What state are you shopping in?"); + String readHomestate = homestate.nextLine(); + if (readHomestate == "Alabama") + { + int userPrice = price(); + greeting(); + if(userPrice > 1000000) + { + System.out.println("The optimal city for you to shop in is Orange Beach"); + } + else if(999 > userPrice && userPrice > 500) + { + System.out.println("The optimal city for you to shop in is Vesatvia Hills"); + } + else + { + System.out.println("The optimal city for you to shop in is Hoover"); + } + } + } +} \ No newline at end of file