├── .gitignore ├── Class_Lectures ├── cssFoundationLesson.md └── htmlFoundationLesson.md ├── unit 4_javascript ├── asyncReviewJan31.js ├── feDev │ ├── logic.js │ ├── index.html │ └── logicInstructions.js ├── loops.js ├── countdownLoop.html ├── asyncReviewJan17.js ├── forloops.js ├── asyncReviewJan24.js ├── calculator.js ├── jsArrayMethods.js ├── whileLoops.js ├── asyncReviewJan10.js ├── postHolidayReview.js ├── asyncReviewFeb7.js ├── javaScriptLoops.js └── asyncReviewJan31.py ├── .vscode └── settings.json ├── v-petGifs ├── IdleDog.gif ├── ClappingDog.gif ├── DancingDog.gif └── JumpingDog.gif ├── functionInstructionJs1.png ├── functionInstructionJs2.png ├── functionInstructionPython1.png ├── functionInstructionPython2.png ├── Async_Activities ├── cssGridPractice.png ├── restuarantWebsite.png ├── asyncActivitySept27.md ├── asyncActivityOct18.md ├── asyncActivityJan17.md ├── asyncActivityFeb7.md ├── asyncActivityJan10.md ├── asyncActivityDec6.md ├── asynActivityDec13.md ├── asyncActivitiyNov8.md ├── asyncActivityNov1.md ├── asynActivityNov15.md ├── asyncActivityJan24.md └── asyncActivityJan31.md ├── Q1_ExtraCredit ├── exampleFootball.jpg ├── importImg.html └── ExtraCreditPrompts.md ├── python_122.py ├── unit 1 ├── githubProfileReview.md ├── attributePractice.html ├── htmlStylePractice.html ├── aboutme.txt └── ayncActivityDemo.html ├── functionPractice.txt ├── unit 4_python ├── asyncReviewJan24.py ├── forLoops.py ├── postHolidayReview.py ├── asyncReviewJan17.py ├── loops.py ├── problemSolving.py ├── listFunctions.py ├── pythonLoops.py ├── asyncReviewJan10.py └── whileLoops.py ├── unit3_javascript ├── functionPractice │ ├── home.html │ └── functions.js ├── jsConditionalReview.js ├── handsOnFunctions.js ├── asnycActivity_nov1.js ├── asnycReviewDec13.js ├── dec6AsyncReview.js ├── jsFoundation.js ├── asyncReviewNov15.js ├── asyncActivityNov8.js └── operatorReview.js ├── Class_Projects ├── restuarantProject_example │ ├── groupLog.txt │ ├── restuarantPitch.txt │ └── IansDonutsCleaners.html └── RestuarantProject_instructions.md ├── unit 2 ├── cssGrid.html ├── asyncGridReview.html ├── cssIntroduction.html └── OfficeHours_optional_Assignment.html ├── unit3_python ├── restuarantOrderFunction.py ├── pythonConditionalReview.py ├── asyncReviewDec13.py ├── asyncDec6Revirew.py ├── operatorReview.py ├── asyncActivity_nov1.py ├── functions.py ├── asyncActivityNov8.py ├── handsOnFunctions.py ├── pythonFoundation.py └── asnycActivityReviewNov15.py ├── holidayExtraCredit.md ├── restuarant_project_page.html ├── ClassPresentationGuide.md ├── pythonDataTypes.py ├── extraCredit_Nov25.md ├── jsPopQuiz_6thPeriod.js ├── jsPractice.js ├── spadesUi.html ├── spadesUi2v2.html └── spades2v2.html ├── README.MD └── q2QuizAlt.md /.gitignore: -------------------------------------------------------------------------------- 1 | /classActivities -------------------------------------------------------------------------------- /Class_Lectures/cssFoundationLesson.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unit 4_javascript/asyncReviewJan31.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "liveServer.settings.port": 5513 3 | } -------------------------------------------------------------------------------- /v-petGifs/IdleDog.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BlackTechPhilly/BTP_BoysLatin_Fall24_Coding-1/HEAD/v-petGifs/IdleDog.gif -------------------------------------------------------------------------------- /functionInstructionJs1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BlackTechPhilly/BTP_BoysLatin_Fall24_Coding-1/HEAD/functionInstructionJs1.png -------------------------------------------------------------------------------- /functionInstructionJs2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BlackTechPhilly/BTP_BoysLatin_Fall24_Coding-1/HEAD/functionInstructionJs2.png -------------------------------------------------------------------------------- /v-petGifs/ClappingDog.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BlackTechPhilly/BTP_BoysLatin_Fall24_Coding-1/HEAD/v-petGifs/ClappingDog.gif -------------------------------------------------------------------------------- /v-petGifs/DancingDog.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BlackTechPhilly/BTP_BoysLatin_Fall24_Coding-1/HEAD/v-petGifs/DancingDog.gif -------------------------------------------------------------------------------- /v-petGifs/JumpingDog.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BlackTechPhilly/BTP_BoysLatin_Fall24_Coding-1/HEAD/v-petGifs/JumpingDog.gif -------------------------------------------------------------------------------- /functionInstructionPython1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BlackTechPhilly/BTP_BoysLatin_Fall24_Coding-1/HEAD/functionInstructionPython1.png -------------------------------------------------------------------------------- /functionInstructionPython2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BlackTechPhilly/BTP_BoysLatin_Fall24_Coding-1/HEAD/functionInstructionPython2.png -------------------------------------------------------------------------------- /Async_Activities/cssGridPractice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BlackTechPhilly/BTP_BoysLatin_Fall24_Coding-1/HEAD/Async_Activities/cssGridPractice.png -------------------------------------------------------------------------------- /Q1_ExtraCredit/exampleFootball.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BlackTechPhilly/BTP_BoysLatin_Fall24_Coding-1/HEAD/Q1_ExtraCredit/exampleFootball.jpg -------------------------------------------------------------------------------- /Async_Activities/restuarantWebsite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BlackTechPhilly/BTP_BoysLatin_Fall24_Coding-1/HEAD/Async_Activities/restuarantWebsite.png -------------------------------------------------------------------------------- /unit 4_javascript/feDev/logic.js: -------------------------------------------------------------------------------- 1 | console.log("JS file connected"); 2 | 3 | document.getElementById("personalMsg").innerHTML = 4 | "Welcome to front end development."; 5 | 6 | -------------------------------------------------------------------------------- /unit 4_javascript/loops.js: -------------------------------------------------------------------------------- 1 | // For Loops 2 | // 3 PARTS, iterator, condition, incrementor/decrementor 3 | // for in - FOR item IN LIST/OBJ, do this 4 | 5 | // While Loops 6 | -------------------------------------------------------------------------------- /python_122.py: -------------------------------------------------------------------------------- 1 | # python version 2 | def mystery_function(x): 3 | numbers = [1,2,3,4,5,6,7,8,9,10] 4 | i = 0 5 | for i in numbers: 6 | print(i * x) 7 | 8 | mystery_function(2) -------------------------------------------------------------------------------- /Q1_ExtraCredit/importImg.html: -------------------------------------------------------------------------------- 1 | ! 2 | 3 |
4 | 5 | 6 | 7 |
8 |
9 |
--------------------------------------------------------------------------------
/unit 1/githubProfileReview.md:
--------------------------------------------------------------------------------
1 | ## Github Profile Review
2 |
3 | Please visit the following link and complete the form.
4 |
5 | [Github Profile Form Link](https://forms.gle/xKSA6TnsgxdDjuZE7)
6 |
7 |
--------------------------------------------------------------------------------
/unit 4_javascript/feDev/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
13 |
14 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/unit3_javascript/functionPractice/home.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 21 | Lorem Ipsum is simply dummy text of the printing and typesetting industry. 22 | Lorem Ipsum has been the industry's standard dummy text ever since the 23 | 1500s, when an unknown printer took a galley of type and scrambled it to 24 | make a type specimen book. It has survived not only five centuries, but 25 | also the leap into electronic typesetting, remaining essentially 26 | unchanged. It was popularised in the 1960s with the release of Letraset 27 | sheets containing Lorem Ipsum passages, and more recently with desktop 28 | publishing software like Aldus PageMaker including versions of Lorem 29 | Ipsum. 30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /unit3_python/pythonConditionalReview.py: -------------------------------------------------------------------------------- 1 | 2 | # Functions are sets of instructions 3 | # that inform the computer on what to do 4 | # with data. 5 | 6 | # function definition 7 | def welcomeMsg(): 8 | # step 1 9 | print('welcome to coding class.') 10 | 11 | # function call 12 | welcomeMsg() 13 | 14 | # Conditional Statements use the if/ else keywords 15 | # to help us make multiple decisions and outcomes 16 | # based on data. 17 | 18 | def mealTime(time): 19 | if time == 'before noon': 20 | print('it is breakfast time.') 21 | elif time =='noon': 22 | print('it is lunch time.') 23 | elif time == 'after noon': 24 | print('it is dinner time. ') 25 | else: 26 | print('sorry, we do not recgonise your data.') 27 | 28 | mealTime('noon') 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /unit 4_python/postHolidayReview.py: -------------------------------------------------------------------------------- 1 | # data types - level 1: most basic building block of 2 | # code . (numbers, letters, true or false) 3 | 4 | # operators - level 2: the ability to manipulate and 5 | # do things with data types 6 | # (math, comparisons, assignment, etc. ) 7 | 8 | # functions - level 3: taking the first two concepts and 9 | # organizing these operations and data types 10 | # into instructions 11 | 12 | # conditional statements: level 3a: being able 13 | # to add more control on our function instructions. 14 | 15 | 16 | # Billing System Function. 17 | # You've been hired as an engineer at spotify to assist with developing 18 | # a payment verification system. Your function should be able to check 19 | # a users payment date and account balance and verify if they need to make 20 | # payment today, and if yes, check if they have enough money in their account 21 | # to pay there bill. If they do have enough money, your program should 22 | # return a message confirm they're bill has been paid and show their remaining 23 | # account balance. If they do NOT have enough money, your function should 24 | # return that they do not have enough money. 25 | -------------------------------------------------------------------------------- /unit 4_python/asyncReviewJan17.py: -------------------------------------------------------------------------------- 1 | campingSupplies = ['tent', 2 | 'sleeping bag', 3 | 'flash light', 4 | 'camping knife' 5 | ] 6 | 7 | # 1. Reverse the order of the list. 8 | 9 | campingSupplies.reverse() 10 | #print(campingSupplies) 11 | 12 | # 2. Add a camping item to the list 13 | campingSupplies.append('water bottle') # will add the new item 14 | # to the end of the list. 15 | 16 | campingSupplies.insert(2,'portable fan') # will add the item 17 | # to the list based on a list position. 18 | 19 | #print(campingSupplies) 20 | 21 | # 3. Combine the list above with the list below 22 | campingFood = ['marshmellows','gram crackers', 23 | 'chocolate','chicken hot dogs', 24 | 'water',] 25 | 26 | # campingSupplies.append(campingFood) 27 | # print(campingSupplies) 28 | 29 | # numbers =[1,2,3,4,[5,6,7,8]] 30 | 31 | campingSupplies.extend(campingFood) 32 | #print(campingSupplies) 33 | 34 | # numbers =[1,2,3,4,5,6,7,8] 35 | 36 | # 4. Replace the 'flash light' string item with 'campfire kit' string 37 | # item. 38 | 39 | campingSupplies.pop(1) 40 | campingSupplies.insert(1,'campfire kit') 41 | print(campingSupplies) 42 | -------------------------------------------------------------------------------- /holidayExtraCredit.md: -------------------------------------------------------------------------------- 1 | # Holiday Extra Credit assignment 2 | 3 | Create a new document called holidayExtraCredit.py or holidayExtraCredit.js (depending on which programming language you are learning) and complete the following prompt. 4 | 5 | This assignment will be graded on accuracy- NOT effort. Your code NEEDS to work to get full credit. 6 | 7 | You will have until 8pm tonight, 12/19/2024 to complete this assignment. 8 | 9 | MAKE SURE TO TEST YOUR CODE BEFORE YOU SUBMIT YOUR WORK 10 | 11 | ## Holiday schedule function 12 | 13 | Create a function that will act as your holiday schedule planner. When you pass in a date. The event 14 | calenar should return an event that you have planned on that day. If there is no event on that day it should return "nothing is planned for this day". Your planner should encompass the dates between 12/21/24 15 | through 1/7/2025. You should have atleast 5 events planned. 16 | 17 | - ex. if a user passes in 12/21/2024, the program should return- on saturday dec. 21, I'm going to chill. 18 | - ex. if a user passes in 12/31/2024, the program should return- on tuesday dec. 31, I'm going to a new years party. 19 | - ex. if a user passes in 1/7/2024, the program should return- on monday Jan.1, I'm returning back to school. 20 | 21 | -------------------------------------------------------------------------------- /unit3_javascript/jsConditionalReview.js: -------------------------------------------------------------------------------- 1 | // A function is a set of instructions 2 | // that informs the computer on what to do 3 | // with data. 4 | 5 | // Conditional statements use the if/ else 6 | // keywords to allow us to create multiple 7 | // custom outcomes based on the data 8 | // we recieve 9 | 10 | function timeOfDay(time) { 11 | if (time == "am") { 12 | console.log("it is the morning. "); 13 | } else if (time == "pm") { 14 | console.log("it is the evening."); 15 | } else { 16 | console.log("sorry, cannot understand input"); 17 | } 18 | } 19 | 20 | timeOfDay(); 21 | 22 | // Create a function that will give 23 | // someone a letter grade based on their 24 | // numerical grade score. For example, 25 | // if someone has a 90, your program 26 | // should print you have an A, if the 27 | // data entered is an 80, 28 | // the program should print you have a B, 29 | // etc. 30 | 31 | // nested conditions are functions inside 32 | // of functions. this gives us more power 33 | // to make unique outcomes. 34 | function passwordRetrieval(email, password, sQuestion) { 35 | if (email == dbEmails.sort(email)) { 36 | console.log("correct"); 37 | console.log("please provide a password?"); 38 | }else{ 39 | console.log('sorry, this email doesnt exist.') 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /unit3_python/asyncReviewDec13.py: -------------------------------------------------------------------------------- 1 | # 3. You have been hired by target to assist them 2 | # with their store member discount software. The would 3 | # like to make it so that shoppers who have a specific 4 | # membership tier can save a certain amount of money on the 5 | # products they buy. provided below are the memberships and t 6 | # the discount amount they should recieve: 7 | 8 | # - superShopper should recieve a 10% discount on their items 9 | # - megaShopper should recieve a 15% discount on their items 10 | # - ultraShopper should receive a 20% discount on their items 11 | 12 | # You program should be able to take in the 13 | # shoppers membership type, the name of the item 14 | # they are purchasing, and the item price, and should 15 | # return a message telling the user what the final price of 16 | # the item is and how much they saved. 17 | 18 | # For example: congratulations superShopper, you saved $10.00 19 | # on this TV. Your final 20 | # item price is $90.00. 21 | 22 | # KEY POINTS 23 | # Determine the price of the item based on the user's membership. 24 | # - superShopper = 10% discount on their item. 25 | # - megaShopper = 15% discount on their item. 26 | # - ultraShopper = 20% discount on their item. 27 | # we need an item name, item price, membership and a message. 28 | 29 | f -------------------------------------------------------------------------------- /restuarant_project_page.html: -------------------------------------------------------------------------------- 1 |