diff --git a/00-HTML-CSS-basics/CSS-2.5-2.6/img/01.jpg b/00-HTML-CSS-basics/CSS-2.5-2.6/img/01.jpg new file mode 100644 index 000000000..34e6874f8 Binary files /dev/null and b/00-HTML-CSS-basics/CSS-2.5-2.6/img/01.jpg differ diff --git a/00-HTML-CSS-basics/CSS-2.5-2.6/img/02.jpg b/00-HTML-CSS-basics/CSS-2.5-2.6/img/02.jpg new file mode 100644 index 000000000..dde323fc4 Binary files /dev/null and b/00-HTML-CSS-basics/CSS-2.5-2.6/img/02.jpg differ diff --git a/00-HTML-CSS-basics/CSS-2.5-2.6/img/03.jpg b/00-HTML-CSS-basics/CSS-2.5-2.6/img/03.jpg new file mode 100644 index 000000000..2481ac0ab Binary files /dev/null and b/00-HTML-CSS-basics/CSS-2.5-2.6/img/03.jpg differ diff --git a/00-HTML-CSS-basics/CSS-2.5-2.6/img/04.jpg b/00-HTML-CSS-basics/CSS-2.5-2.6/img/04.jpg new file mode 100644 index 000000000..0f858149d Binary files /dev/null and b/00-HTML-CSS-basics/CSS-2.5-2.6/img/04.jpg differ diff --git a/00-HTML-CSS-basics/CSS-2.5-2.6/img/05.jpg b/00-HTML-CSS-basics/CSS-2.5-2.6/img/05.jpg new file mode 100644 index 000000000..0639419c3 Binary files /dev/null and b/00-HTML-CSS-basics/CSS-2.5-2.6/img/05.jpg differ diff --git a/00-HTML-CSS-basics/CSS-2.5-2.6/img/06.jpg b/00-HTML-CSS-basics/CSS-2.5-2.6/img/06.jpg new file mode 100644 index 000000000..2944283cd Binary files /dev/null and b/00-HTML-CSS-basics/CSS-2.5-2.6/img/06.jpg differ diff --git a/00-HTML-CSS-basics/CSS-2.5-2.6/index.html b/00-HTML-CSS-basics/CSS-2.5-2.6/index.html new file mode 100644 index 000000000..90f413f29 --- /dev/null +++ b/00-HTML-CSS-basics/CSS-2.5-2.6/index.html @@ -0,0 +1,58 @@ + + + + + CSS GRID LAYOUT + + + +
+

+ Incredible Types is a curated collection and showcase of typography and design + from around the world. We currently have 354 pieces of inspirational design in + our showcase, from 365 creative studios from 46 different countries. +
+ Follow us on + + Twitter + + , + + Facebook + + and + + Pinterest + + or subscribe to our + + RSS feed + +

+ +
+
+

Descripcion de la imagen numero uno

+
+
+

Descripcion de la imagen numero dos

+
+
+

Descripcion de la imagen numero tres

+
+
+

Descripcion de la imagen numero cuatro

+
+
+

Descripcion de la imagen numero cinco

+
+
+

Descripcion de la imagen numero seis

+
+ +
+ + + diff --git a/00-HTML-CSS-basics/CSS-2.5-2.6/style.css b/00-HTML-CSS-basics/CSS-2.5-2.6/style.css new file mode 100644 index 000000000..d13a05b76 --- /dev/null +++ b/00-HTML-CSS-basics/CSS-2.5-2.6/style.css @@ -0,0 +1,237 @@ +*{ + box-sizing: border-box; +} +html{ + height:100%; +} +h1{ + color: black; + text-align: left; + font-family:sans-serif; + font-weight: bold; + font-size: 20px; + padding-left: 20px; +} +h2{ + float: right; + color: black; + font-weight:normal; + font-style: oblique; + padding-left: 600px; + padding-right: 200px; +} +a{ + color:black; +} +header{ + height: 130px; + background-color: light-gray; + font-family: sans-serif; + color:black; + font-size: 17px; + padding-top: 50px; + padding-right: 20em; + padding-left: 30em; + text-align: left; +} + +body{ + color: #fff; + font-family: 'Nunito Semibold'; + text-align: center; + background-color: lightgray; +} + +#content{ + padding-top: 10px; + grid-template-columns: repeat(6, 1fr); + grid-auto-rows: minmax(150px, auto); + grid-gap: 20px; + display: grid; + max-width: 80%; + margin: 0 auto; +} + +div p{ + opacity: 0; + position: absolute; + overflow: hidden; +} + +.one{ + grid-column: 1 / 3; + grid-row: 1 / 3; + background-image: url(img/01.jpg); + background-size: cover; + background-position: top-right; + transition: all ease-in-out 200ms; + position: relative; + overflow:hidden; + +} +.one:hover{ + background-blend-mode:multiply; + background-color: gray; + background-position: center; +} + +p#paraph{ + font-size: 21px; + font-style: italic; + position: absolute; + margin-left: -70px; + transition: all ease-in-out 400ms; +} +.one:hover p#paraph{ + opacity:0.75; + margin-left: 50px; +} + +.two{ + grid-column: 5 / 6; + grid-row: 1 / 3; + background-image: url(img/02.jpg); + background-size: cover; + background-position: top-right; + transition: all ease-in-out 400ms; + position: relative; + overflow:hidden; +} +.two:hover{ + background-blend-mode:multiply; + background-color: gray; + background-position: center; + background-position: top; +} +p#paraph2{ + font-size: 21px; + font-style: italic; + position: absolute; + margin-left: -70px; + transition: all ease-in-out 400ms; + text-align: left; + padding-right: 30%; +} +.two:hover p#paraph2{ + opacity:0.75; + margin-left: 30px; +} + +.three{ + grid-column: 3 / 5; + grid-row: 1 / 3; + background-image: url(img/03.jpg); + background-size: cover; + background-position: top-right; + transition: all ease-in-out 200ms; + position: relative; + overflow:hidden; +} +.three:hover{ + background-blend-mode:multiply; + background-color: gray; + background-position: center; + background-position: top; +} +p#paraph3{ + font-size: 21px; + font-style: italic; + position: absolute; + margin-left: -70px; + transition: all ease-in-out 400ms; +} +.three:hover p#paraph3{ + opacity:0.75; + margin-left: 50px; +} +.four{ + grid-column: 4 / 6; + grid-row: 3 / 5; + background-image: url(img/04.jpg); + background-size: cover; + background-position: top-right; + transition: all ease-in-out 200ms; + position: relative; + overflow:hidden; +} +.four:hover{ + background-blend-mode:multiply; + background-color: gray; + background-position: center; +} +p#paraph4{ + font-size: 21px; + font-style: italic; + position: absolute; + margin-left: -70px; + transition: all ease-in-out 400ms; +} +.four:hover p#paraph4{ + opacity:0.75; + margin-left: 50px; +} +.five{ + grid-column: 6 / 7; + grid-row: 1 / 5; + background-image: url(img/05.jpg); + background-size: cover; + background-position: top-right; + transition: all ease-in-out 600ms; + position: relative; + overflow:hidden; +} +.five:hover{ + background-blend-mode:multiply; + background-color: gray; + background-position: center; +} +p#paraph5{ + font-size: 21px; + font-style: italic; + position: absolute; + margin-left: -70px; + transition: all ease-in-out 400ms; + padding-right: 40%; +} +.five:hover p#paraph5{ + opacity:0.75; + margin-left: 40px; +} +.six{ + grid-column:1 / 4; + grid-row: 3 / 5; + background-image: url(img/06.jpg); + background-size: cover; + background-position: top-right; + transition: all ease-in-out 400ms; + position: relative; + overflow:hidden; +} +.six:hover{ + background-blend-mode:multiply; + background-color: gray; + background-position: center; +} +p#paraph6{ + font-size: 21px; + font-style: italic; + position: absolute; + margin-left: -70px; + transition: all ease-in-out 400ms; +} +.six:hover p#paraph6{ + opacity:0.75; + margin-left: 70px; +} +#content div{ + border: 1 solid; + padding: 30px; +} +footer{ + text-align:center; + font-family:sans-serif; + font-size: 15px; + padding-top: 40px; + color: black; + font-weight: bold; +} diff --git a/00-HTML-CSS-basics/CSS-2/index2.html b/00-HTML-CSS-basics/CSS-2/index2.html new file mode 100644 index 000000000..2fda12644 --- /dev/null +++ b/00-HTML-CSS-basics/CSS-2/index2.html @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + +
+ Header +
+ + + +
+ Section +
+ HeaderSection +
+
+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, + quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. + Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
+ +
+ + + + + + + + + + + + + + + + + diff --git a/00-HTML-CSS-basics/CSS-2/normalize.css b/00-HTML-CSS-basics/CSS-2/normalize.css new file mode 100644 index 000000000..47b010e47 --- /dev/null +++ b/00-HTML-CSS-basics/CSS-2/normalize.css @@ -0,0 +1,341 @@ +/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */ + +/* Document + ========================================================================== */ + +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ + +html { + line-height: 1.15; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/* Sections + ========================================================================== */ + +/** + * Remove the margin in all browsers. + */ + +body { + margin: 0; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Remove the gray background on active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove the border on images inside links in IE 10. + */ + +img { + border-style: none; +} + +/* Forms + ========================================================================== */ + +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 1 */ + line-height: 1.15; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ + +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ + +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive + ========================================================================== */ + +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ + +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* Misc + ========================================================================== */ + +/** + * Add the correct display in IE 10+. + */ + +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ + +[hidden] { + display: none; +} diff --git a/00-HTML-CSS-basics/CSS-2/style.css b/00-HTML-CSS-basics/CSS-2/style.css new file mode 100644 index 000000000..da0b255b1 --- /dev/null +++ b/00-HTML-CSS-basics/CSS-2/style.css @@ -0,0 +1,124 @@ + +body{ + background-color: #333333; + padding: 0px 20px 0px 20px; +} + +header, nav, section, footer, article, aside{ + background-color: #666666; + text-align: center; + border-radius: 20px; +} + +header{ + height: 100px; + margin-bottom: 25px; + margin-top: 10px; +} + +aside, nav, section{ + height: 470px; + float: left; + margin-bottom: 25px; +} + +section{ + padding: 0px 20px 0px 20px; + margin-left: 1%; + margin-right: 1%; + width: 40%; +} + +aside,nav{ + width: calc(29% - 20px); +} + +section header, +section article, +section footer{ + background-color: #999999; + margin-top: 10px; + margin-bottom: 10px; + padding-left: 10px 0px 10px 0px; + +} + +section header, +section footer{ + height: 80px; + padding-top: 5px; +} + +section article{ + height: 200px; + padding: 10px 10px 10px 10px; +} + +section header{ + margin-top: 20px; +} + +footer{ + clear: both; + width: 100%; + height: 75px; +} + +header, footer, aside, nav{ + background-color: orange; +} + +*{ + font-family: cursive; + font-size: 14px; + +} + +header, footer{ + text-align: center; +} + +.header{ + font-size: 46px; +} + +.footer{ + font-size: 10px; +} + +.content{ + font-size: 14px; +} + +.navigation{ + font-size: 12px; +} + +.sidebar{ + font-size: 10px; +} + +[class$="r"]{ + background-color: magenta; +} + +[class*="a"]:not([class$="r"]){ + background: blue; +} + +[class] { + font-weight: bold; +} + +footer[style] { + background: green !important; +} + + + +/* +Exercises: +1. Add background to the header, footer, aside and nav. +2. Add a global font definition (at html element) with a value of 14px, using a font-family you like. +3. Center the header and footer text. +*/ diff --git a/00-HTML-CSS-basics/HTML/Expenses.html b/00-HTML-CSS-basics/HTML/Expenses.html new file mode 100644 index 000000000..3924ecb59 --- /dev/null +++ b/00-HTML-CSS-basics/HTML/Expenses.html @@ -0,0 +1,39 @@ + + + + + Bootcamp UI + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CategoryExpensesAmount
HomeLight2500
HomeGas1200
FoodMeals250
+ + diff --git a/00-HTML-CSS-basics/HTML/Media.html b/00-HTML-CSS-basics/HTML/Media.html new file mode 100644 index 000000000..fa9d035a7 --- /dev/null +++ b/00-HTML-CSS-basics/HTML/Media.html @@ -0,0 +1,33 @@ + + + + + Media + + + + + + + + + + + + + +
+ +
+ +
+ Black Hole +
+ + + + + diff --git a/00-HTML-CSS-basics/HTML/beat.mp3 b/00-HTML-CSS-basics/HTML/beat.mp3 new file mode 100644 index 000000000..db66f46f7 Binary files /dev/null and b/00-HTML-CSS-basics/HTML/beat.mp3 differ diff --git a/00-HTML-CSS-basics/HTML/blackhole.jpg b/00-HTML-CSS-basics/HTML/blackhole.jpg new file mode 100644 index 000000000..6267b7a1b Binary files /dev/null and b/00-HTML-CSS-basics/HTML/blackhole.jpg differ diff --git a/00-HTML-CSS-basics/HTML/index.html b/00-HTML-CSS-basics/HTML/index.html new file mode 100644 index 000000000..045222f6f --- /dev/null +++ b/00-HTML-CSS-basics/HTML/index.html @@ -0,0 +1,19 @@ + + + + + + Boot + + + +
+ My to do list +
+ + + diff --git a/00-HTML-CSS-basics/HTML/signup.html b/00-HTML-CSS-basics/HTML/signup.html new file mode 100644 index 000000000..b56cd8d67 --- /dev/null +++ b/00-HTML-CSS-basics/HTML/signup.html @@ -0,0 +1,46 @@ + + + + + + + + + + Formularios + + + +
+ +

+

+

+

+ Enter your birthday:
+

+ + Select your favorite sport:
+

+ + Write your Bio: +
+ +
+
+ + + + +
+ + diff --git a/01-JS-DOM-APIs/jS-1/index.html b/01-JS-DOM-APIs/jS-1/index.html new file mode 100644 index 000000000..e705dc922 --- /dev/null +++ b/01-JS-DOM-APIs/jS-1/index.html @@ -0,0 +1,47 @@ + + + + + + + + + Bootcamp UI + + + + +
Hello World!
+ +
+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

+

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

+

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

+

Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+

+ + + + + +
Your joke goes here

+ +
Showcase a list of repositories:

+ +

+ +
+ +
+
+
+ +
+ +
+ + + + + + diff --git a/01-JS-DOM-APIs/jS-1/intro.js b/01-JS-DOM-APIs/jS-1/intro.js new file mode 100644 index 000000000..d576fa9c9 --- /dev/null +++ b/01-JS-DOM-APIs/jS-1/intro.js @@ -0,0 +1,123 @@ +function sectionFadeIn() { + document.getElementById("section1").style.visibility = "visible" +} + +function alertMessage(){ + alert("This is an alert!"); +} + +function GetProm(set){ //Open set request + + return new Promise(function(succeed,fail){ + + var req = new XMLHttpRequest(); + req.onreadystatechange = function(){ + if (this.readyState == 4 && this.status == 200){ + succeed(req.responseText); + } + if(this.readyState === XMLHttpRequest.DONE && this.status != 200){ + fail("Error") + } + }; + + req.open(set.method, set.url, set.sync); + req.addEventListener("load", function() { + console.log("Status:",req.status); + if(req.status==200) + { + console.log("OK!"); + } + }); + req.send(); + }); +} + +function randomJoke(){ + + var set = {method:"GET", url:"http://api.icndb.com/jokes/random", sync:true}; + var promise = GetProm(set); + + promise.then + (function(succeed2) + { + document.getElementById("jokesec").innerHTML = JSON.parse(succeed2).value.joke; + }, + function(fail2) + { + document.getElementById("jokesec").style.background = "red"; + document.getElementById("jokesec").innerHTML = fail2; + }); +} + +function getRepos(){ + + var Search = document.getElementById("Searchtxt").value; + + var set = {method:"GET", url:"https://api.github.com/search/repositories?q=" + Search, sync:true}; + + var promise = GetProm(set); + + promise.then(function(content){ + + var list = ""; + + document.getElementById("repoList").innerHTML = list; + + }, function(error){ + document.getElementById("repoList").style.background = "red"; + document.getElementById("repoList").innerHTML = error; + }); +} + +function Matrix(){ + + var i,j; + var matrix = new Array(5); + + for (i=0;i