#hpfamily
Explore tagged Tumblr posts
crazychicke · 2 years ago
Video
youtube
Romione & Locklyle I Symphony
7 notes · View notes
ma2ketv · 4 years ago
Photo
Tumblr media
What an early blessing we have here, again thank you so much Tataboy Chavez for always supporting us! Adas, please let us welcome Tataboy Chavez and please consider subscribing to his channel on this link https://www.youtube.com/tataboychavez :) #ma2ketv #tataboychavez #atatnation #adasfamily #hpfam #hpfamily #happypillfamily https://www.instagram.com/p/CEPAaDxALen/?igshid=1qc499xtv106v
3 notes · View notes
quiblrr · 7 years ago
Photo
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
Things that Make Harry Potter Better: {5/?? The Library}
When in doubt, go to the library
236 notes · View notes
snowy011-blog · 7 years ago
Text
I’ve been seeing a lot of posts/headcannons about what the “true” houses for Harry Potter characters are.
The thing about that is... I’ve always seen the houses as the traits the characters admire and want to eventually have; rather the ones they do at the start. Either that, or they admire people who are in their house. Or what the house stands for.
Hermione’s shown Ravenclaw traits since the beginning of the series, but she was put in Gryffindor becasuse she admires bravery. Ron’s shown Hufflepuff traits but still wants to be in Gryffindor because everyone in his family is in there. And yes, of course Harry has Slytherin traits but he chose to be Gryffindor instead. At the time especially he admired what Gryffindor stood for more than Slytherin.
And guess what? They’ve all had they’re Gryffindor moments in the end.
The sorting hat is hardly ever wrong.
7 notes · View notes
peregrintook · 8 years ago
Note
Wait omg I just realised they're all taken, how about Cho, Angelina or Narcissa?? Sorry about that
Hi there! Ginny isn’t taken yet! :D But if you’d rather be one of the others let me know and I’ll change it! Welcome to the family! ♥ Also oohhh, irish! I’ve been to Ireland many times I love it there so much!
6 notes · View notes
omigawditsme · 8 years ago
Photo
Tumblr media
#fantasticbeastsandwheretofindthem #fantasticbeasts #harrypotter #hp #hpfamily #hpfandom #newtscamander
4 notes · View notes
mauradars · 7 years ago
Photo
Tumblr media Tumblr media Tumblr media
harry potter wizarding families 
The Lovegoods, The Blacks, The Longbottoms 
852 notes · View notes
loyaltypatch · 3 years ago
Photo
Tumblr media
It was an honor to collaborate with @hp_chilidogs on these custom 2-patch sets. We are thrilled for everyone to see these! Be sure to get your Loyalty Patch HP Camo hats with both custom embroidered and full grain leather HP Loyalty Patches exclusively at the Home Plate pro shop! Where is your Loyalty? . . #Repost @hp_chilidogs with @make_repost ・・・ 🚨 Come on into our pro shop and check out our new Loyalty Patch HP Camo hats 🚨 Thank you to @loyaltypatch for these amazing custom hats!! #Homeplate #Chilidogs #Loyaltypatch #Redwhite&blue #Leatherpatch #Newnan #HPfamily https://www.instagram.com/p/CQKGOQfgvhN/?utm_medium=tumblr
0 notes
smellyfacelifechange · 7 years ago
Photo
Tumblr media
I love it when coincidences happen when reading 😂 #currentread #hpfamily #harrypotter #100bookstoreadbeforeyoudie #gobletoffire
0 notes
100snitches · 7 years ago
Photo
Tumblr media
I really love this
0 notes
freyayuki · 6 years ago
Text
freeCodeCamp Basic JavaScript Course Notes Part 3
As I mentioned before, now that there’s a new freeCodeCamp learning curriculum, I resolved to go through each of the lessons and finish all of them.
I was able to finish all the Responsive Web Design courses including all the projects. Check out this post for more info about these projects.
Check out the following articles for the notes I took while going through the course:
Flexbox Notes
CSS Grid Notes
Now that I’m done with the Responsive Web Design Certification course, the next course is the Javascript Algorithms And Data Structures Certification course.
The first part of that course is Basic JavaScript. This is part 3 of the notes I took while going through said course. Check out these articles for the first two parts:
Part 1
Part 2
You can find the Basic JavaScript course lessons here: https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript.
Modifying and Updating Data in a Collection
var hpOrgs = {  "1": {    "name": "Death Eaters",    "leader": "Voldemort",    "members": [      "Bellatrix Lestrange",      "Peter Pettigrew"    ]  },  "2": {    "name": "Order of the Phoenix",    "leader": "Albus Dumbledore",    "members": [      "James Potter",      "Lily Evans"    ]  },  "3": {    "leader": "Harry Potter",    "members": []  },  "4": {    "name": "Ministry of Magic"  } }; // Keep a copy of the hpOrgs collection for tests var hpOrgsCopy = JSON.parse(JSON.stringify(hpOrgs)); console.log(hpOrgsCopy); function updateHPOrgs(id, prop, value) {  //Note: id refers to the numbering (1, 2, 3, 4). prop refers to the property of the hpOrgs object (name, leader, members). value refers to the value of the property (Death Eaters, Voldemort, Bellatrix)  if (prop === "members" && value !== "") {    //if property is equal to "members" AND the value of said property is NOT empty or blank, then refer to the following if statement:    if (hpOrgs[id][prop]) {      //hpOrgs[id][prop] is used to access the value of a key in this object      hpOrgs[id][prop].push(value); //if the members array exists, then use push to add the new value to the members array. This will update the members array    }    else {      hpOrgs[id][prop] = [value]; //if the members array doesn't exist, then create an empty array before adding the new value inside that array    }  } else if (value !== "") {    //if value is NOT equal to empty or blank, then refer to the following condition or statement:    hpOrgs[id][prop] = value; //update the property with the value of value  } else {    //if value is actually empty or blank, then execute the following condition:    delete hpOrgs[id][prop]; //since value is empty, just delete the given proprty from the given hpOrgs id  }  return hpOrgs; //return the entire hpOrgs object } updateHPOrgs(4, "leader", "Cornelius Fudge"); //The property leader with the value Cornelius Fudge will be added to the id 4 updateHPOrgs(4, "members", "Amelia Bones"); //Since the id 4 has no members property, the function will create an empty array for the members property. After that, the value Amelia Bones will be put inside this array hpOrgs[4]["members"]; ["Amelia Bones"] updateHPOrgs(1, "members", "Severus Snape"); //since the members array exists in id 1, the new value Severus Snape will be pushed into this array. This new value will appear as the last element in this array hpOrgs[1]["members"]; (3) ["Bellatrix Lestrange", "Peter Pettigrew", "Severus Snape"] updateHPOrgs(3, "leader", ""); //The leader property in id 3 will now be blank. Since it is now blank, it will be deleted. Now, only a blank or empty array will remain in this id
Another Example:
var hpFamily = {  "1": {    "name": "Harry Potter",    "school": "Hogwarts",    "family": [      "James Potter",      "Lily Evans",    ]  },  "2": {    "name": "Sirius Black",    "school": "Hogwarts",    "family": [      "Regulus Black"    ]  },  "3": {    "name": "Fleur Delacour",    "family": []  },  "4": {    "school": "Durmstrang"  } }; function updateHPFamily(id, prop, value) {  if (prop === "family" && value !== "") {    if (hpFamily[id][prop]) {      hpFamily[id][prop].push(value);    }    else {      hpFamily[id][prop] = [value];    }  } else if (value !== "") {    hpFamily[id][prop] = value;  } else {    delete hpFamily[id][prop];  }  return hpFamily; } updateHPFamily(3, "school", "Beauxbatons"); //since the school property doesn't exist in id 3, the function will create this new property then push or add the value Beauxbatons to this property hpFamily[3] {name: "Fleur Delacour", family: Array(0), school: "Beauxbatons"} updateHPFamily(2, "family", "Walburga Black"); //since the family property already exists in id 2, it doesn't need to be created. The value Walburga Black will be added to the family array hpFamily[2]["family"] (2) ["Regulus Black", "Walburga Black"] updateHPFamily(1, "school", ""); //since the value of the property school is now blank or empty, this property will be deleted from id 1 hpFamily[1] {name: "Harry Potter", family: Array(2)}
Run the same code multiple times using loops.
While Loop
Runs "while" a specified condition is true and stops once that condition is no longer true.
var marauders = []; //the variable marauders is currently set to an empty array var i = 0; while(i < 4) {    marauders.push(i);    i++; } //while the value of the variable i is less than 4, push the values into the marauders array marauders (4) [0, 1, 2, 3]
For Loop
runs "for" a specific number of times
declared with three optional expressions separated by semicolons:
Tumblr media
var aurors = []; for (var i = 0; i <= 10; i++) {    aurors.push(i); } //initialize with i = 0. Iterate while the condition i is less than or equal to 10 is true. Increment i by 1 (i++) in each loop iteration as the final expression aurors (11) [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
//Push the numbers 1-5 inside the werewolves array var werewolves = []; for (var i = 1; i < 6; i++) {    werewolves.push(i); } console.log(werewolves); (5) [1, 2, 3, 4, 5]
For loops don't have to iterate one at a time. By changing our final-expression, we can count by even numbers.
Tumblr media
//Push the odd numbers from 1 - 9 inside the goblins array var goblins = []; for (var i = 1; i < 10; i += 2) {  goblins.push(i); } console.log(goblins); (5) [1, 3, 5, 7, 9]
You can also count backwards using a for loop.
Tumblr media
//Count backwards by 2s from 9 to 1 var houseElves = []; for (var i = 9; i > 0; i -= 2) {  houseElves.push(i); } console.log(houseElves); (5) [9, 7, 5, 3, 1]
Iterate Through an Array with a For Loop
//output each element of the array to the console var blackCousins = ["Sirius", "Regulus", "Bellatrix", "Andromeda", "Narcissa"]; for (var i = 0; i < blackCousins.length; i++) {  console.log(blackCousins[i]); //returns each element of the array } Sirius Regulus Bellatrix Andromeda Narcissa
var hpBooks = [7, 6, 5, 4, 3, 2, 1]; for (var i = 0; i < hpBooks.length; i++) {  console.log(hpBooks[i]); } 7 6 5 4 3 2 1
Arrays have zero-based numbering, which means the last index of the array is length - 1. 
The condition for the above loop is i < hpBooks.length, which stops when i is at length - 1.
//add the value of each element of the array to total var thestrals = [2, 3, 4, 5, 6]; var total = 0; for (var i = 0; i < thestrals.length; i++) {  total += thestrals[i]; } console.log(total); 20
Nesting For Loops
You can “loop through both the array and any sub-arrays”.
Tumblr media
Modify function multiplyAll so that it multiplies the product variable by each number in the sub-arrays of arr
function multiplyAll(arr) {  var product = 1;  for (var i = 0; i < arr.length; i++) {    for (var j = 0; j < arr[i].length; j++) {      product = arr[i][j] * product;    }  }  return product; } multiplyAll([[1,2],[3,4],[5,6,7]]); //returns 5040 multiplyAll([[1],[2],[3]]); //returns 6 multiplyAll([[5,1],[0.2, 4, 0.5],[3, 9]]); //returns 54
Do While Loop
First, "do" one pass of the code inside the loop no matter what, and then it runs "while" a specified condition is true and stops once that condition is no longer true.
var owls = []; var i = 0; do {  owls.push(i);  i++; } while (i < 5); owls (5) [0, 1, 2, 3, 4]
Tumblr media
The above while loop will run as long as i is less than 5. But since the value of i has been set to 5, this while loop will never run because the condition (that i be less than 5) fails and so the codes inside the while loop never execute. So ourArray will still be equal to [].
Tumblr media
Here, the value of i has also been initialized to 5. But the do while loop still runs because when we get to the beginning of the do while code, there is no check for the value of i. So the codes inside the curly braces will execute.
One element will be added to the array and i will be incremented before we reach the while part or the condition check. Since i is now equal to 6, the condition check fails.
So we exit the loop and are done. At the end of the above example, the value of ourArray is [5].
Essentially, a do...while loop ensures that the code inside the loop will run at least once.
Profile Lookup
var studentInfo = [  {    "firstName": "Harry",    "lastName": "Potter",    "hogwartsHouse": "Gryffindor",    "family": ["Vernon", "Petunia", "Dudley"]  },  {    "firstName": "Draco",    "lastName": "Malfoy",    "hogwartsHouse": "Slytherin",    "family": ["Lucius", "Narcissa", "Bellatrix"]  },  {    "firstName": "Susan",    "lastName": "Bones",    "hogwartsHouse": "Hufflepuff",    "family": ["Amelia"]  },  {    "firstName": "Luna",    "lastName": "Lovegood",    "hogwartsHouse": "Ravenclaw",    "family": ["Xenophilius"]  }   ]; function hogwartsLookUp(name, prop) {  for (var i = 0; i < studentInfo.length; i++) {    //use the for loop to cycle through the entire studentInfo array    if (studentInfo[i].firstName === name) {        //if the current student's (studentInfo[i]) first name property (we get the current student via the for loop) is equal to the hogwartsLookUp function's name parameter, then execute the following statement:        if (studentInfo[i].hasOwnProperty(prop)) {            //after making sure that the name parameter matches the current student's first name property, check if the prop parameter matches any of the current student's properties. The hasOwnProperty method will be used to check if the given prop parameter exists or is true. If it's true, then execute the following statement:            return studentInfo[i][prop]; //return the value of the curent student's property based on what was inputted in the prop parameter        } else {            return "The property you are looking for doesn't exist." //return this message if the given property doesn't exist in the studentInfo array        }    }  }  return "Sorry, the student you're looking for isn't in this list." //return this message if the function's name parameter is not equal to any of the first name properties in the studentInfo array }
hogwartsLookUp("Harry", "family"); (3) ["Vernon", "Petunia", "Dudley"]
The function runs starting with the for loop. The for loop will cycle through the entire studentInfo array. The first if statement will run. In this example, the name parameter is "Harry". 
This matches the first name key in the first object, so the if statement returns true. Since the first if statement returned true, the second one will run. The prop parameter in this example is "family". 
The hasOwnProperty method will check if this property exists in the current student's (in this example, studentInfo[i] is Harry) list of properties. Since the "family" property does exist, the return studentInfo[i][prop] will run. This will return the value of family. In this case, it will return ["Vernon", "Petunia", "Dudley"].    
hogwartsLookUp("Voldemort", "hogwartsHouse"); "Sorry, the student you're looking for isn't in this list."
The function will run starting with the for loop, which will cycle through the entire studentInfo array. The first if statement will run. It will check if the function's name parameter matches any of the firstNames in the array. 
"Voldemort" isn't in the array, so the if statement will return false. The for loop will end and the function will go straight to the return "Sorry, the student you're looking for isn't in this list."
hogwartsLookUp("Draco", "parents"); "The property you are looking for doesn't exist."
The function will run starting with the for loop, which will cycle through the entire studentInfo array. The first if statement will run. It will check if the function's name parameter matches any of the firstNames in the array. 
"Draco" matches a first name in the array, so the second if statement will run. This one will check if the given prop parameter exists in the array using the hasOwnProperty method. 
"parents" isn't a property in the array where Draco is, so the second if statement will return as false. This means the codes inside that if statement will not run. Instead, the function goes straight to the else statement, which will return "The property you are looking for doesn't exist."
Math.random()
function that generates a random decimal number between 0 (inclusive) and not quite up to 1 (exclusive). Thus Math.random()can return a 0 but never quite return a 1
all function calls will be resolved before the return executes, so we can return the value of the Math.random()function.
function randomFraction() {  return Math.random(); } randomFraction(); 0.6766764005156192
Tumblr media
//Generate and return a random whole number between 0 and 9 function randomWholeNum() {  var num = Math.floor(Math.random() * 10);  return num; } randomWholeNum(); 1 randomWholeNum(); 6
To “generate a random number that falls within a range of two specific numbers”, “define a minimum number min and a maximum number max”
Formula:
Math.floor(Math.random() * (max - min + 1)) + min
Create a function called randomRange that takes a range myMin and myMax and returns a random number that's greater than or equal to myMin, and is less than or equal to myMax, inclusive.
function randomRange(myMin, myMax) {  return Math.floor(Math.random() * (myMax - myMin + 1)) + myMin; } randomRange(5, 15); 12 randomRange(3, 20); 4
The parseInt()function parses a string and returns an integer.
Tumblr media
function convertToInteger(str) {  return parseInt(str); } convertToInteger("56"); //returns 56 convertToInteger("77"); //returns 77 convertToInteger("Sirius Black"); //returns NaN
Tumblr media
//Convert a binary number to an integer then return it function convertToInteger(str) {  return parseInt(str, 2); } convertToInteger("10011"); //returns 19 convertToInteger("111001"); //returns 57 convertToInteger("Regulus Black"); //returns NaN
Conditional Operator / Ternary Operator
can be used as a one line if-else expression
Tumblr media
findGreater(4, 6); "b is greater" findGreater(10, 2); "a is greater"
//Check if two numbers are equal or not. The function should return either true (meaning a is equal to b) or false (meaning a is not equal to b). function checkEqual(a, b) {  return a === b ? true : false; } checkEqual(1, 2); //returns false checkEqual(1, 1); //returns true checkEqual(1, -1); //returns false
Use Multiple Conditional (Ternary) Operators
Chain multiple conditional operators to check for multiple conditions. 
Tumblr media
//check if a number is positive, negative, or zero function checkSign(num) {  return (num === 0) ? "zero" : (num > 0) ? "positive" : "negative"; } checkSign(10); //returns positive checkSign(-12); //returns negative checkSign(0); //returns zero
Another example of using multiple conditional operators:
function hpWands(core, wood) {    return (core === "phoenix feather" && wood === "holly") ? "Harry Potter's wand" : (core === "unicorn hair" && wood === "willow") ? "Ron Weasley's wand" : (core === "dragon heartstring" && wood === "vine") ? "Hermione Granger's wand" : "Unknown wand owner"; } hpWands("veela hair", "rosewood"); "Unknown wand owner" hpWands("phoenix feather", "holly"); "Harry Potter's wand" hpWands("unicorn hair", "willow"); "Ron Weasley's wand" hpWands("dragon heartstring", "vine"); "Hermione Granger's wand"
This:
function hogwartsGreeting(house) {    return (house === "slytherin") ? "welcome to slytherin house" : (house === "hufflepuff") ? "welcome to hufflepuff house" : (house === "ravenclaw") ? "welcome to ravenclaw house" : "welcome to gryffindor"; } hogwartsGreeting("gryffindor"); "welcome to gryffindor" hogwartsGreeting("slytherin"); "welcome to slytherin house" hogwartsGreeting("ravenclaw"); "welcome to ravenclaw house" hogwartsGreeting("hufflepuff"); "welcome to hufflepuff house"
is the same as this:
function hogwartsGreeting(house) {    if (house === "slytherin") {        return "welcome to slytherin house";    } else if (house === "hufflepuff") {        return "welcome to hufflepuff house";    } else if (house === "ravenclaw") {        return "welcome to ravenclaw house";    } else {        return "welcome to gryffindor house";    } } hogwartsGreeting("slytherin"); "welcome to slytherin house" hogwartsGreeting("ravenclaw"); "welcome to ravenclaw house" hogwartsGreeting("hufflepuff"); "welcome to hufflepuff house" hogwartsGreeting("gryffindor"); "welcome to gryffindor house"
0 notes
hobblt · 8 years ago
Photo
Tumblr media
My first tumblr awards!! This is what the majority of you voted for so here it is! But first I just want to take the time to thank all of you who follow me! I’ve had this blog for a month and a half and it’s been such a fun time! I never expected to get this far, let alone this fast! So just shout out to all of you for being amazing!  P.S. Sorry for my sad excuse for a graphic.
Anyway, on to the tumblr awards:
Rules:
mbf this tumblr addict 
Reblog this post (likes don’t count)
optional: maybe join my hpfamily?
Ends Wednesday February 8th at Midnight CST (aka when I have a four day weekend yay)
1 winner 1-2 runners up per category
Categories :
Harry Potter Award: Best url
Hermione Granger Award: Best Icon
Ron Weasley Award: Best Desktop Theme
Ginny Weasley Award: Best Mobile Theme
James Potter Award: Best Harry Potter
Lily Evans Award: Best Original content (optional) *
Sirius Black Award:Best Rising Blogger(optional)(under 300 followers)**
Remus Lupin Award: Personal Favorite
*Submit me a link to your content
 **Submit me a screenshot of your follower count
Prizes :
+f, if not already
A spot on my updates tab
A spot in my hall of fame (a page i have yet to create lol)
My eternal love and friendship (seriously pls be my friend)
1 edit request + unlimited promos upon request throughout February (and probs just the rest of my life too)
Any questions? Feel free to ask!
84 notes · View notes
quiblrr · 7 years ago
Photo
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
So here are a few reasons why I personally believe that the Whomping Willow is the BEST character in the Harry Potter series:
1) it give zero fucks.
2) it is the actually embodiment of mess with the bull and get the horns
3) it protec da smol bean Remus
4) IT HAS A SECERT PASSAGE UNDERNEATH IT AND SECERT PASSAGES ARE AWESOME
So in conclusion, keep doing what you are doing boo boo, cuz you is doing erething Gucci Gucci my bucci.
118 notes · View notes
snowy011-blog · 7 years ago
Text
So I'm re-reading Goblet of Fire and I noticed this neat little bit of foreshadowing...
Hermione was wondering how (stupid) Rita Skeeter could have known what's been going on while they were using scarab beetles in potions.
And what does Rita's secret end up being? How does it turn out she knows all this stuff?She can turn into a beetle.
Tumblr media
10 notes · View notes
forty-six-and-2 · 8 years ago
Photo
Tumblr media
Un pequeño reconocimiento por parte del team ♡ esto me hace querer aún trabajar más duro :3 #hpinc #hpfamily
0 notes
mauradars · 7 years ago
Photo
Tumblr media Tumblr media Tumblr media
harry potter wizarding families 
The Weasleys, The Mafoys, The Potters 
384 notes · View notes