diff --git a/HTML/images/backpack.svg b/HTML/images/backpack.svg new file mode 100644 index 0000000..f409313 --- /dev/null +++ b/HTML/images/backpack.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/HTML/images/bear-logo.png b/HTML/images/bear-logo.png new file mode 100644 index 0000000..e166130 Binary files /dev/null and b/HTML/images/bear-logo.png differ diff --git a/HTML/images/binoculars.svg b/HTML/images/binoculars.svg new file mode 100644 index 0000000..a4f1297 --- /dev/null +++ b/HTML/images/binoculars.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/HTML/images/buildings-and-billboard.png b/HTML/images/buildings-and-billboard.png new file mode 100644 index 0000000..840717a Binary files /dev/null and b/HTML/images/buildings-and-billboard.png differ diff --git a/HTML/images/city-scape.svg b/HTML/images/city-scape.svg new file mode 100644 index 0000000..9395b0b --- /dev/null +++ b/HTML/images/city-scape.svg @@ -0,0 +1,1096 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HTML/images/collaboration.svg b/HTML/images/collaboration.svg new file mode 100644 index 0000000..5a507a5 --- /dev/null +++ b/HTML/images/collaboration.svg @@ -0,0 +1,312 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HTML/images/forklift.svg b/HTML/images/forklift.svg new file mode 100644 index 0000000..f1381ed --- /dev/null +++ b/HTML/images/forklift.svg @@ -0,0 +1,1010 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + B58463 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + B58463 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HTML/images/mountain-climbing-bears.svg b/HTML/images/mountain-climbing-bears.svg new file mode 100644 index 0000000..dd652a8 --- /dev/null +++ b/HTML/images/mountain-climbing-bears.svg @@ -0,0 +1,532 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HTML/images/mountain-flag.svg b/HTML/images/mountain-flag.svg new file mode 100644 index 0000000..62ef647 --- /dev/null +++ b/HTML/images/mountain-flag.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/HTML/images/npm-logo.png b/HTML/images/npm-logo.png new file mode 100644 index 0000000..e284d55 Binary files /dev/null and b/HTML/images/npm-logo.png differ diff --git a/HTML/images/red-car.png b/HTML/images/red-car.png new file mode 100644 index 0000000..60844ca Binary files /dev/null and b/HTML/images/red-car.png differ diff --git a/HTML/index.html b/HTML/index.html new file mode 100644 index 0000000..86edd1e --- /dev/null +++ b/HTML/index.html @@ -0,0 +1,133 @@ + + + + + + + + + + npm + + + + + + + +
+ + +
+
+ + + +
+

Build amazing things

+

npm is the package manager for JavaScript and the world’s largest software registry. Discover packages of reusable code — and assemble them in powerful new ways.

+ +
+
+ +
+
+ +
+ +
+ + + +
+
+ + +
+

npm Orgs is powerful
collaboration — for free

+
    +
  • Encourage code discovery and re-use within teams
  • +
  • Publish and control access to your own namespace
  • +
  • Manage public and private code with the same workflow
  • +
+ +

or Learn more about Orgs +
+ +
+
+
+ + +
+
+ +
+

What is npm?

+

Use npm to install, share, and distribute code; manage dependencies in your projects; and share & receive feedback with others.

+ Install npm +
+ +
+
+
+ + +
+
+ +

What can you make with 800,000 building blocks?

+

The npm registry hosts the world’s largest collection of free, reusable code.

+
+ +
+ + + + + +
+ + + + diff --git a/HTML/styles.css b/HTML/styles.css new file mode 100644 index 0000000..00d6cad --- /dev/null +++ b/HTML/styles.css @@ -0,0 +1,267 @@ +body { + font-family: 'Libre Franklin', sans-serif; + +} + +nav { + background-color: #C12127; + color: rgba(255,255,255,0.8); + padding-top: 15px; + height: 45px; + + font-weight: 300; +} + +nav a { + color: rgba(255,255,255,0.8); + text-decoration: none; + display: inline-block; +} + +.top-links { + display: inline-block; + float: right; + padding: 0; + margin: 0 20px 0 0; + +} + + +.top-links li { + display: inline-block; + margin: 0 10px; + +} + +header { + background-color: rgb(32, 101, 136); + color: white; + /*margin: 0 auto;*/ + vertical-align: middle; +} + +h1{ + font-size: 40px; + font-weight: 500; +} + +header p{ + line-height: 25px; +} + +#search { + + height: 60px; +} + +.login{ + padding-top: 15px; + padding-right: 15px; + + float: left; + +} + +.search-bar { + float:left; + width: 80%; + height: 35px; + margin: 15px 15px 15px 0; + background-color: rgb(31, 82, 111); + border: 1px solid grey; +} + +.logo{ + max-width: 100px; + float:left; + padding: 15px; +} + +.bear-logo { + max-width: 30px; + padding-top: 15px; +} + +.clearfix { clear: both; } + +/*<------------------header -------------------> +*/ + + +.build { + clear: both; + width: 60%; +} + +.build p{ + max-width: 500px; + margin-bottom: 30px; +} + +.build a { + text-decoration: none; + color:white; +} + +.signup-btn { + background-color: orange; + padding: 5px 50px; + border-radius: 20px; + +} + +.city { + max-width: 700px; + float:right; +} + + +.blue-bar{ + clear:both; + background-color: rgb(31, 82, 111); + height: 60px; + width: 100%; +} + +/*<------------------section 1--------------------> +*/ + +.container{ + width: 60%; + display:inline-block; + margin-left: 20%; + margin-top: 40px; + margin-bottom: 40px; +} + +.uno{ + width: 100%; + clear:both; + color:white; + background-color: #343347; + vertical-align: middle; +} + +h2 { + font-weight: 700; + font-size: 30px; + color: white; +} + +.lista li{ + color: white; + font-size: 16px; + line-height: 40px; +} + + +.rojo { + background-color: red; + +} + +.uno a{ + color: white; + text-decoration: none; +} + +.info-uno{ + float:right; +} + +.collaboration{ + max-width: 450px; +¡/* margin: 50px 0 50px 50px; +*/} + +/*<------------------section 2--------------------> +*/ + +.container { + +} + +.dos { + background-color: #0362A7; + padding: 30px; +} + +.lift { + max-width: 500px; + float:right; +} + + +.info-dos { + max-width: 400px; + + +} + +.info-dos p{ + color:white; + font-size: 16px; + line-height: 25px; +} + +.dos a{ + text-decoration: none; + color:white; +} + +.install-btn { + background-color: #343347; + padding: 5px 50px; + border-radius: 20px; +} + + +/*<------------------section 3--------------------> +*/ + +.tres { + clear: both; + margin: 30px; + +} + +.description { + text-align: center; + margin-bottom: 50px; + width: 100%; +} + +.blocks { + color: grey; +} + +.logos { + padding-right: 20px; + text-align: center; + margin-left: 28%; + font-size: 14px; +} + +.find-logo { + float:left; + width: 20%; +} + +.discover-logo { + float: left; + width: 20%; +} + +.build-logo { + float: left; + width: 20%; +} + + +.info-logos { +} + + + + + diff --git a/app.js b/app.js new file mode 100644 index 0000000..5d9569f --- /dev/null +++ b/app.js @@ -0,0 +1,119 @@ +// Rover Object Goes Here + var inicio = { + direction : "N", + x: 0, + y: 0, + log: [] +}; + + + +function turnLeft (rover) { + console.log("Ahora", rover.direction) + switch (rover.direction) { + case "N": + rover.direction = "W"; + break; + case "E": + rover.direction = "N" + break; + case "S": + rover.direction = "E" + break; + case "W": + rover.direction = "S" + break; + } + console.log("siguiente", rover.direction) +} + +function turnRight (rover) { + console.log("Ahora", rover.direction) + switch (rover.direction) { + case "N": + rover.direction = "E"; + break; + case "E": + rover.direction = "S" + break; + case "S": + rover.direction = "W" + break; + case "W": + rover.direction = "N" + break; + } +console.log("siguiente", rover.direction) +} + +function moveForward (rover){ + if(rover.y + 1 <= 10 || rover.x - 1 < 0 || rover.x + 1 >= 10 || rover.y - 1 < 0){ + switch (rover.direction) { + case "N": + rover.y = rover.y - 1; + break; + case "E": + rover.x = rover.x - 1; + break; + case "S": + rover.y = rover.y + 1; + break; + case "W": + rover.x = rover.x + 1; + break; + } + } else { + console.log("undefined") + } + console.log("X= ", rover.x , "Y= ", rover.y); +} + +function moveBackward (rover){ + if(rover.y + 1 <= 10 || rover.x - 1 < 0 || rover.x + 1 >= 10 || rover.y - 1 < 0){ + switch (rover.direction) { + case "N": + rover.y = rover.y + 1; + break; + case "E": + rover.x = rover.x - 1; + break; + case "S": + rover.y = rover.y - 1; + break; + case "W": + rover.x = rover.x + 1; + break; + } + } else { + console.log("undefined") + } + console.log("X= ", rover.x , "Y= ", rover.y); +} + +function comandos (ordenes, rover){ + console.log(ordenes) + for(var i = 0; i