diff --git a/Marty_Brewster/PTV/index.html b/Marty_Brewster/PTV/index.html new file mode 100644 index 0000000..3cdd8b7 --- /dev/null +++ b/Marty_Brewster/PTV/index.html @@ -0,0 +1,9 @@ + + + + + + +

open the console

+ + \ No newline at end of file diff --git a/Marty_Brewster/PTV/ptv.js b/Marty_Brewster/PTV/ptv.js new file mode 100644 index 0000000..c4634a8 --- /dev/null +++ b/Marty_Brewster/PTV/ptv.js @@ -0,0 +1,33 @@ +console.log("ptvmofo"); + +var originStation = prompt("What is you origin station?") + +var destinationStation = prompt("What is your destination station?") + +var alamein = ['Flinders Street', 'Richmond', 'East Richmond', 'Burnley', 'Hawthorn', 'Glenferrie'] + +var glenWaverly = ['Flagstaff', 'Melbourne Central', 'Parliament', 'Richmond', 'Kooyong', 'Tooronga'] + +var sandringham = ['Southern Cross', 'Richmond', 'South Yarra', 'Prahran', 'Windsor'] + +if (alamein.indexOf(originStation) >= 0 && alamein.indexOf(destinationStation) >= 0 ){ + var journey = alamein.slice(alamein.indexOf(originStation),(1 + alamein.indexOf(destinationStation))); + console.log(String(journey).replace(/[ ]*,[ ]*|[ ]+/g, " -----> ")); + +} else if (glenWaverly.indexOf(originStation) >= 0 && glenWaverly.indexOf(destinationStation) >= 0 ){ + var journey = glenWaverly.slice(glenWaverly.indexOf(originStation),(1 + glenWaverly.indexOf(destinationStation))); + console.log(String(journey)); + +} else { + var journey = sandringham.slice(sandringham.indexOf(originStation),(1 + sandringham.indexOf(destinationStation))); + console.log(String(journey)); +} + +// then need to print the new array in the desired format + +//Melbourne Central -----> Parliament -----> Richmond + +//2 stops total + +// aString = aString.replace(/[ ]*,[ ]*|[ ]+/g, '*'); + \ No newline at end of file diff --git a/Marty_Brewster/fashion/Fashion_blog.md b/Marty_Brewster/fashion/Fashion_blog.md new file mode 100644 index 0000000..75d8c03 --- /dev/null +++ b/Marty_Brewster/fashion/Fashion_blog.md @@ -0,0 +1,7 @@ +# Fashion Blog + +Choose the easy option and use the `fashion_blogg_starter_with_markup` to complete the necessary `HTML` & `CSS` to resemble the following + +![Fashion Blog ](http://i.imgur.com/fRFKxZU.png) + +If you like a challenge use the folder with no markup. diff --git a/Marty_Brewster/fashion/fashion_blog_starter_with_markup/fashion_photo.jpeg b/Marty_Brewster/fashion/fashion_blog_starter_with_markup/fashion_photo.jpeg new file mode 100644 index 0000000..5bd56b2 Binary files /dev/null and b/Marty_Brewster/fashion/fashion_blog_starter_with_markup/fashion_photo.jpeg differ diff --git a/Marty_Brewster/fashion/fashion_blog_starter_with_markup/fashion_photo2.jpeg b/Marty_Brewster/fashion/fashion_blog_starter_with_markup/fashion_photo2.jpeg new file mode 100644 index 0000000..7cdd843 Binary files /dev/null and b/Marty_Brewster/fashion/fashion_blog_starter_with_markup/fashion_photo2.jpeg differ diff --git a/Marty_Brewster/fashion/fashion_blog_starter_with_markup/index.html b/Marty_Brewster/fashion/fashion_blog_starter_with_markup/index.html new file mode 100644 index 0000000..257dd12 --- /dev/null +++ b/Marty_Brewster/fashion/fashion_blog_starter_with_markup/index.html @@ -0,0 +1,82 @@ + + + + + Sartre’s List + + + + +
+

Sartre’s List

+

Better-Dressed People

+ +
+
+
+ +

On the Street in Brooklyn

+ fashion stuff +

Cray culpa stumptown, flexitarian ex Odd Future do fugiat Wes Anderson proident 3 wolf moon officia bitters small batch. Et consequat do, nulla you probably haven’t heard of them High Life scenester. Vinyl fugiat High Life, kogi do VHS in aliqua lo-fi leggings gentrify Neutra tumblr. Odio vegan PBR, Marfa forage blue bottle try-hard readymade meggings retro delectus Echo Park. Ugh consectetur farm-to-table forage, laboris blue bottle McSweeney’s tattooed excepteur yr. Magna ut Schlitz flexitarian, vinyl craft beer proident yr forage 8-bit ethical sustainable placeat retro. Officia pickled beard, adipisicing gluten-free sint craft beer quis thundercats id 3 wolf moon fashion axe.

+

Continues...

+
+
+ +

Vintage in Vogue

+ fashion stuff +

Selfies sunt Tumblr, delectus small batch DIY umami sint. Polaroid chambray selfies McSweeney's Cosby sweater, Pitchfork tattooed assumenda Wes Anderson Blue Bottle twee Carles ennui. Nisi locavore fugiat sapiente salvia aliqua. Shoreditch kogi exercitation fashion axe. Wolf semiotics Pinterest, laboris quis master cleanse tousled small batch street art bespoke fingerstache dreamcatcher ethical labore. Dreamcatcher iPhone typewriter, tote bag four loko fanny pack master cleanse organic PBR reprehenderit actually. Craft beer drinking vinegar wayfarers, pork belly narwhal pariatur polaroid cupidatat in 8-bit distillery anim literally.

+

Continues...

+
+
+ + + + + \ No newline at end of file diff --git a/Marty_Brewster/fashion/fashion_blog_starter_with_markup/style.css b/Marty_Brewster/fashion/fashion_blog_starter_with_markup/style.css new file mode 100644 index 0000000..e41675c --- /dev/null +++ b/Marty_Brewster/fashion/fashion_blog_starter_with_markup/style.css @@ -0,0 +1,57 @@ +* { + font-family: "lato", sans-serif; + box-sizing: border-box; + text-decoration: none; +} + +main { + display: inline-block; + width: 60%; + margin-right: 10px; +} + +header h1 { +display: inline-block; +margin: 0 20px 0 0; +} + +header h1 a { + color: #E65E5D; +} + +header h2 { + display: inline-block; + color: #929292; + margin: 0; + font-size: 14px; +} + +nav ul { + padding: 0; + margin: 5px 0 5px 0; +} + +nav li { + display: inline-block; + border: 1px solid black; + padding: 10px; + background-color: black; + width: 16.5%; + text-align: center; + border-right-color: gray; +} + +nav a { + color:white; +} + +aside { + display: inline-block; + width:20%; + margin-left: 10px; +} + +img { + width: 100%; +} +