diff --git a/00-HTML-CSS-basics/Expenses.html b/00-HTML-CSS-basics/Expenses.html new file mode 100644 index 000000000..2d66db021 --- /dev/null +++ b/00-HTML-CSS-basics/Expenses.html @@ -0,0 +1,64 @@ + + + + + + + Expenses + + +
+

Expenses

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ServiceAmount
Bus$7.98
Phone$200
Movile Phone$450
Wedding party$2000
Honeymoon$4500
Gas$105
Internet$530
Studies$200
Light$201
Internet$530
+
+ + \ No newline at end of file diff --git a/00-HTML-CSS-basics/Form.html b/00-HTML-CSS-basics/Form.html new file mode 100644 index 000000000..4abc9bc29 --- /dev/null +++ b/00-HTML-CSS-basics/Form.html @@ -0,0 +1,43 @@ + + + + + + + Form + + + +
+
+ +
  • +

    Sing Up Form

    +
  • + +
    +
    + + \ No newline at end of file diff --git a/00-HTML-CSS-basics/Hello.html b/00-HTML-CSS-basics/Hello.html new file mode 100644 index 000000000..d69f78b38 --- /dev/null +++ b/00-HTML-CSS-basics/Hello.html @@ -0,0 +1,114 @@ + + + + + + + My Todo List + + My Todo List +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Hours

    Monday

    Tuesday

    Wednesday

    Thursday

    Friday

    7:00

    Work Design Macrofer Web PageElements of operational researchWork Design Macrofer Web PageElements of operational researchWork Design Macrofer Web Page

    8:00

    Work Design Macrofer Web PageElements of operational researchWork Design Macrofer Web PageElements of operational researchWork Design Macrofer Web Page

    9:00

    Work Design Macrofer Web PageElements of operational researchWork Design Macrofer Web PageElements of operational researchWork Design Macrofer Web Page

    10:00

    Work Design Macrofer Web PageElements of operational researchWork Design Macrofer Web PageElements of operational researchWork Design Macrofer Web Page

    11:00

    Work Design Macrofer Web PageElements of operational researchWork Design Macrofer Web PageElements of operational researchWork Design Macrofer Web Page

    12:00

    Work Design Macrofer Web PageElements of operational researchWork Design Macrofer Web PageElements of operational researchWork Design Macrofer Web Page

    13:00

    Free TimeFree TimeFree TimeFree TimeFree Time

    14:00

    Work in Boston RestaurantWork in Boston RestaurantWork in Boston RestaurantWork in Boston RestaurantWork in Boston Restaurant

    15:00

    Work in Boston RestaurantWork in Boston RestaurantWork in Boston RestaurantWork in Boston RestaurantWork in Boston Restaurant

    16:00

    Work in Boston RestaurantWork in Boston RestaurantWork in Boston RestaurantWork in Boston RestaurantWork in Boston Restaurant

    17:00

    Work in Boston RestaurantWork in Boston RestaurantWork in Boston RestaurantWork in Boston RestaurantWork in Boston Restaurant
    + +
    + \ No newline at end of file diff --git a/00-HTML-CSS-basics/index.html b/00-HTML-CSS-basics/index.html new file mode 100644 index 000000000..e44649974 --- /dev/null +++ b/00-HTML-CSS-basics/index.html @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + +
    + Header +
    + + +
    +
    + Content +
    + Header +
    +
    + Article +
    +
    +

    Hello world! This is HTML5 Boilerplate.

    +
    +
    +
    +
    +

    + Now im not a red paragraph +

    +
    + + diff --git a/00-HTML-CSS-basics/style.css b/00-HTML-CSS-basics/style.css new file mode 100644 index 000000000..299d43fd0 --- /dev/null +++ b/00-HTML-CSS-basics/style.css @@ -0,0 +1,50 @@ +.normal { + border: 1px solid #000; + border-collapse: collapse; +} +.normal th, .normal td { + border: 2px solid #000; +} + +.days { + margin-left: 70px; + text-align: center; + } + + hr.v{ + width: 1px; + height: 500px; + .v{ + width: 1px; + height: 500px; + } + + td.skill{ + .skill{ + padding-left: 70px; + font: oblique bold 100% cursive; + color: #F8FDFD; + text-align: center; + } + + td.day{ + .day{ + padding-left: 170px; + font: oblique bold 100% cursive; + color: #F8FDFD; + text align: center; + } + + body{ + background-position: center center; + background-position: center center; + background: radial gradient(ellipse, black, white); + } + + th, td { + border-bottom: 2px solid #080808; + } + + h3, h4{ + text-align: center; + } \ No newline at end of file diff --git a/01-JS-DOM-APIs/index.html b/01-JS-DOM-APIs/index.html new file mode 100644 index 000000000..ac5c6a022 --- /dev/null +++ b/01-JS-DOM-APIs/index.html @@ -0,0 +1,101 @@ + + + + + + + + Topic 1 + + + + + +
    + Header +
    + + +
    +
    + Content +
    + Hello World! +
    + +
    + Header +
    +
    + Article +
    +
    + Footer +
    +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/01-JS-DOM-APIs/normalize.css b/01-JS-DOM-APIs/normalize.css new file mode 100644 index 000000000..8d5d5baa7 --- /dev/null +++ b/01-JS-DOM-APIs/normalize.css @@ -0,0 +1,427 @@ +/*! normalize.css v6.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 + * IE on Windows Phone and in iOS. + */ + +html { + line-height: 1.15; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/* Sections + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + */ + +article, +aside, +footer, +header, +nav, +section { + display: block; +} + +/** + * 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 + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + * 1. Add the correct display in IE. + */ + +figcaption, +figure, +main { /* 1 */ + display: block; +} + +/** + * Add the correct margin in IE 8. + */ + +figure { + margin: 1em 40px; +} + +/** + * 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 + ========================================================================== */ + +/** + * 1. Remove the gray background on active links in IE 10. + * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. + */ + +a { + background-color: transparent; /* 1 */ + -webkit-text-decoration-skip: objects; /* 2 */ +} + +/** + * 1. Remove the bottom border in Chrome 57- and Firefox 39-. + * 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 */ +} + +/** + * Prevent the duplicate application of `bolder` by the next rule in Safari 6. + */ + +b, +strong { + font-weight: inherit; +} + +/** + * 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 style in Android 4.3-. + */ + +dfn { + font-style: italic; +} + +/** + * Add the correct background and color in IE 9-. + */ + +mark { + background-color: #ff0; + color: #000; +} + +/** + * 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 + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + */ + +audio, +video { + display: inline-block; +} + +/** + * Add the correct display in iOS 4-7. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Remove the border on images inside links in IE 10-. + */ + +img { + border-style: none; +} + +/** + * Hide the overflow in IE. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Forms + ========================================================================== */ + +/** + * Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + margin: 0; +} + +/** + * 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; +} + +/** + * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` + * controls in Android 4. + * 2. Correct the inability to style clickable types in iOS and Safari. + */ + +button, +html [type="button"], /* 1 */ +[type="reset"], +[type="submit"] { + -webkit-appearance: button; /* 2 */ +} + +/** + * 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; +} + +/** + * 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 */ +} + +/** + * 1. Add the correct display in IE 9-. + * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + display: inline-block; /* 1 */ + vertical-align: baseline; /* 2 */ +} + +/** + * Remove the default vertical scrollbar in IE. + */ + +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 and cancel buttons in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-cancel-button, +[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 IE 9-. + * 1. Add the correct display in Edge, IE, and Firefox. + */ + +details, /* 1 */ +menu { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* Scripting + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + */ + +canvas { + display: inline-block; +} + +/** + * Add the correct display in IE. + */ + +template { + display: none; +} + +/* Hidden + ========================================================================== */ + +/** + * Add the correct display in IE 10-. + */ + +[hidden] { + display: none; +} \ No newline at end of file diff --git a/01-JS-DOM-APIs/style.css b/01-JS-DOM-APIs/style.css new file mode 100644 index 000000000..9a9f0ba12 --- /dev/null +++ b/01-JS-DOM-APIs/style.css @@ -0,0 +1,8 @@ +.content +{ + text-align:center; +} +.hide +{ + visibility:hidden; +} \ No newline at end of file diff --git a/02-oop-inheritance/Exercise9.js b/02-oop-inheritance/Exercise9.js new file mode 100644 index 000000000..f9ba93432 --- /dev/null +++ b/02-oop-inheritance/Exercise9.js @@ -0,0 +1,29 @@ +import * as Actor from 'modules/actor'; +import * as EventEmitter from 'modules/emitter'; +import * as Logger from 'modules/logger'; +import * as Movie from 'modules/movie'; + +let Social = { + share: function(friendName){ + console.log("share", this.title, "with", friendName); + }, + like: function(friendName){ + console.log(friendName, "likes", this.title); + } + } + let terminator = new Movie("terminator", 1992, 125); + let thor2 = new Movie("thor 2", 2013, 124); + let gotham = new Movie("gotham", 2013, 300); +terminator.on('play', function() {terminator.play}); +terminator.on('play', function() {console.log("funciona")}); +terminator.on('play', function() {console.log("funciona x 2")}); + + let actors = [ + new Actor('Falso', 'Falso', 'Porahi, USA'), + new Actor('Fernet', 'Branca', 'Cordoba, ARG'), + new Actor('Martini', 'Dry', 'Buenos Aires, ARG') + ]; + + console.log(terminator); +terminator.addCast(actors); + console.log(terminator); \ No newline at end of file diff --git a/02-oop-inheritance/Topic2.html b/02-oop-inheritance/Topic2.html new file mode 100644 index 000000000..d5743563f --- /dev/null +++ b/02-oop-inheritance/Topic2.html @@ -0,0 +1,132 @@ + + + + + + + Topic 2 + + + + + +
    + Header +
    + + +
    +
    + Content +
    +
    + + + +
    +
    + Header +
    +
    + Article +
    +
    + Footer +
    +
    +
    +
    +
    + + + + diff --git a/02-oop-inheritance/actor.js b/02-oop-inheritance/actor.js new file mode 100644 index 000000000..c00ed9178 --- /dev/null +++ b/02-oop-inheritance/actor.js @@ -0,0 +1,7 @@ +export default class Actor { + constructor(firstName, lastName, bornIn){ + this.firstName = firstName; + this.lastName = lastName; + this.bornIn = bornIn; + } + } \ No newline at end of file diff --git a/02-oop-inheritance/emmiter.js b/02-oop-inheritance/emmiter.js new file mode 100644 index 000000000..9c05018ec --- /dev/null +++ b/02-oop-inheritance/emmiter.js @@ -0,0 +1,27 @@ + export default class EventEmitter { + constructor() { + // listeners object will store events as keys and arrays of listeners as values + this.listeners = {}; + } + on(event, listener) { + if (this.listeners[event] === undefined) { + this.listeners[event] = []; + } + this.listeners[event].push(listener); + } + emit(event) { + this.listeners[event].forEach(function(fn){ + console.log("executing a listener"); + fn.call(); + }) + } + off(event, listener) { + if (this.listeners[event] === undefined){ + console.log("nothing to remove"); + } + else { + let deletedListener = this.listeners[event].pop(); + console.log("deleted", deletedListener); + } + } + }; \ No newline at end of file diff --git a/02-oop-inheritance/logger.js b/02-oop-inheritance/logger.js new file mode 100644 index 000000000..0b859f613 --- /dev/null +++ b/02-oop-inheritance/logger.js @@ -0,0 +1,6 @@ + export default class Logger { + constructor(){} + log(info){ + console.log(info); + } + }; \ No newline at end of file diff --git a/02-oop-inheritance/movie.js b/02-oop-inheritance/movie.js new file mode 100644 index 000000000..673d984e4 --- /dev/null +++ b/02-oop-inheritance/movie.js @@ -0,0 +1,28 @@ + export default class Movie extends EventEmitter { + constructor(title, year, duration) { + super(); + this.title = title; + this.year = year; + this.duration = duration; + this.cast = []; + } + play() { + console.log("playing ", this.title); + super.emit('play'); + } + pause() { + super.emit('pause'); + // console.log(this.title, " paused") + // this.info = "playing" + } + resume() { + super.emit('resume'); + // console.log("continue playing ", this.title) + } + addCast(actors) { + // for (var actor in actors) { + // this.cast.push(actor); + // } + this.cast = this.cast.concat(actors); + } + } \ No newline at end of file diff --git a/02-oop-inheritance/small.mp4 b/02-oop-inheritance/small.mp4 new file mode 100644 index 000000000..1fc478842 Binary files /dev/null and b/02-oop-inheritance/small.mp4 differ diff --git a/05-UI-ReactJS/React.html b/05-UI-ReactJS/React.html new file mode 100644 index 000000000..35e8c41af --- /dev/null +++ b/05-UI-ReactJS/React.html @@ -0,0 +1,258 @@ + + + + + + + Topic 2 + + + + + + + + + + + +
    +
    + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + +