diff --git a/00-HTML-CSS-basics/.empty b/00-HTML-CSS-basics/.empty deleted file mode 100644 index e69de29bb..000000000 diff --git a/00-HTML-CSS-basics/2-3Specificity.html b/00-HTML-CSS-basics/2-3Specificity.html new file mode 100644 index 000000000..5099cbc73 --- /dev/null +++ b/00-HTML-CSS-basics/2-3Specificity.html @@ -0,0 +1,46 @@ + + + + + + + 2.1 CSS Practice + + + + + + + + + + + +
+ HEADER +
+ +
+ SECTION +
+ HEADER +
+
+ ARTICLE +
+ +
+ + + + \ No newline at end of file diff --git a/00-HTML-CSS-basics/Exercise answers 2.3 apart 7.txt b/00-HTML-CSS-basics/Exercise answers 2.3 apart 7.txt new file mode 100644 index 000000000..32919574b --- /dev/null +++ b/00-HTML-CSS-basics/Exercise answers 2.3 apart 7.txt @@ -0,0 +1,11 @@ +Question: + +Imagine there is a declaration like class=”oh-no-inline-styles” style=”background:red” and you need to change the background to green without changing the inline style. How could you accomplish this? + +Answer: + +I will add the next code: + +.oh-no-inline-styles{ + background-color: green !important; +} \ No newline at end of file diff --git a/00-HTML-CSS-basics/Resources/labrador-barking-daniel_simon.mp3 b/00-HTML-CSS-basics/Resources/labrador-barking-daniel_simon.mp3 new file mode 100644 index 000000000..04a3833ad Binary files /dev/null and b/00-HTML-CSS-basics/Resources/labrador-barking-daniel_simon.mp3 differ diff --git a/00-HTML-CSS-basics/accessibility.html b/00-HTML-CSS-basics/accessibility.html new file mode 100644 index 000000000..78c33fd67 --- /dev/null +++ b/00-HTML-CSS-basics/accessibility.html @@ -0,0 +1,29 @@ + + + + + + Multimedia site + + + +
+

Multimedia Test on HTML5

+
+ +
+

Video Test

+ + +

Audio Test

+ + +

Image Test

+ Desktop computer and tablet image +
+ + diff --git a/00-HTML-CSS-basics/contact-form.html b/00-HTML-CSS-basics/contact-form.html new file mode 100644 index 000000000..358f5b740 --- /dev/null +++ b/00-HTML-CSS-basics/contact-form.html @@ -0,0 +1,52 @@ + + + + + +Contact Us + + +
+ +

Contact Form:

+
+
+
+
+ +

+
+
+ +

+
+
+ +

+
+
+ +

+ +
+
+ +

+
+
+ +

+ +
+ + +
+ +
+ + \ No newline at end of file diff --git a/00-HTML-CSS-basics/css/estilos.css b/00-HTML-CSS-basics/css/estilos.css new file mode 100644 index 000000000..6b1208916 --- /dev/null +++ b/00-HTML-CSS-basics/css/estilos.css @@ -0,0 +1,111 @@ +* { + font-size: 14px; + font-family: "lato", "serif"; + padding: 0; + margin: 0; + box-sizing: border-box; +} +.top-container { + font-size: 20px; + display: -webkit-box; + display: -ms-flexbox; + display: flex; +} +.top-header { + padding-left: 10px; + margin:20px; + width: 30%; +} +.header-article { + margin: 20px; + width: 60%; +} +p { + font-size: 1.1rem; +} +strong { + font-size: 1.2rem; +} + +.center-container { + box-sizing: content-box; + margin: 10px; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + text-align: center; + border-radius: 15px; +} +.bottom-container { + box-sizing: content-box; + margin: 10px; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + color: orange; + background-color: #666666; + color:white; + align-items: center; + justify-content: center; + text-align: center; + border-radius: 15px; + padding-top: 30px; + padding-bottom: 30px; +} +.side-navigation { + background-color: #939393; + padding-top: 168px; + padding-bottom: 168px; + color: white; + width: 20%; + margin-right: 10px; + border-radius: 15px; +} +.center-section { + background-color: #666666; + color: white; + width: 60%; + border-radius: 15px; +} +.aside-left { + background-color: #939393; + padding-top: 168px; + padding-bottom: 168px; + color: white; + width: 20%; + margin-left: 10px; + border-radius: 15px; +} +.section-header { + background-color: #999999; + color: white; + margin: 10px; + padding-top: 15px; + padding-bottom: 15px; + border-radius: 15px; +} +.section-article { + background-color: #999999; + padding-top: 65px; + padding-bottom: 65px; + color: white; + margin: 10px; + border-radius: 15px; +} +.section-footer { + background-color: #999999; + padding-top: 15px; + padding-bottom: 15px; + color: white; + margin: 10px; + border-radius: 15px; +} +.bottom-footer { + color:white; + align-items: center; + text-align: center; + border-radius: 15px; +} diff --git a/00-HTML-CSS-basics/css/estilos2.css b/00-HTML-CSS-basics/css/estilos2.css new file mode 100644 index 000000000..54fbfc7fd --- /dev/null +++ b/00-HTML-CSS-basics/css/estilos2.css @@ -0,0 +1,217 @@ +* { + font-size: 14px; + font-family: "lato", "serif"; + padding: 0; + margin: 0; + box-sizing: border-box; +} +.container-title { + font-size: 20px; + display: -webkit-box; + display: -ms-flexbox; + display: flex; +} +.top-header { + padding-left: 10px; + margin:20px; + width: 30%; +} +.header-article { + margin: 20px; + width: 60%; +} +@media (min-width: 1151px) { +p { + font-size: 1.1rem; +} +strong { + font-size: 1.2rem; +} +h2 { + font-size: 1.5rem; +} +} +@media all and (max-width: 1150px) and (min-width: 789px) { +p { + font-size: 0.8rem; + line-height: 0.8rem; +} +strong { + font-size: 0.9rem; +} +h2 { + font-size: 1rem; +} +} + +@media (min-width: 789px) { +.imagen { + display: block; + width: 100%; + height: auto; +} +.container { + position: relative; + width: 31.3333%; +} +.items-grid-group1 { + box-sizing: content-box; + margin: 30px; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + text-align: center; +} + +.overlay { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + width: 100%; + opacity: 0; + transition: .5s ease; + background-color: #f1f8ff; + height: 40%; +} +.container:hover .overlay { + opacity: 0.8; +} +.text { + color: black; + font-size: 20px; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + text-align: center; +} +} +@media all and (max-width: 788px) and (min-width: 498px){ +.imagen { + display: block; + width: 100%; + height: auto; +} +.container { + position: relative; + width: 45%; + float: left; + margin: 10px; + +} +.items-grid-group1 { + box-sizing: content-box; + margin: 30px; + display: -webkit-box; + display: -ms-flexbox; + display: block; + flex-direction: row; + justify-content: space-between; + align-items: center; + text-align: center; +} + +.overlay { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + width: 100%; + opacity: 0; + transition: .5s ease; + background-color: #f1f8ff; + height: 40%; +} +.container:hover .overlay { + opacity: 0.8; +} +.text { + color: black; + font-size: 20px; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + text-align: center; +} +p { + font-size: 0.75rem; + line-height: 0.9rem; +} +strong { + font-size: 0.75rem; +} +h2 { + font-size: 0.87rem; +} +} +@media (max-width: 497px){ +.imagen { + display: block; + width: 100%; + height: auto; +} +.container { + position: relative; + width: 95%; + float: left; + margin: 10px; +} +.items-grid-group1 { + box-sizing: content-box; + margin: 30px; + display: -webkit-box; + display: -ms-flexbox; + display: block; + flex-direction: row; + justify-content: space-between; + align-items: center; + text-align: center; +} +.overlay { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + width: 100%; + opacity: 0; + transition: .5s ease; + background-color: #f1f8ff; + height: 40%; +} +.container:hover .overlay { + opacity: 0.8; +} +.text { + color: black; + font-size: 20px; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + text-align: center; +} +p { + font-size: 0.75rem; + line-height: 0.9rem; +} +strong { + font-size: 0.75rem; +} +h2 { + font-size: 0.87rem; +} +h1 { + font-size: 1.5rem; +} +} \ No newline at end of file diff --git a/00-HTML-CSS-basics/css/normalize.css b/00-HTML-CSS-basics/css/normalize.css new file mode 100644 index 000000000..3d6624cd1 --- /dev/null +++ b/00-HTML-CSS-basics/css/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; +} \ No newline at end of file diff --git a/00-HTML-CSS-basics/css/style-selectors.css b/00-HTML-CSS-basics/css/style-selectors.css new file mode 100644 index 000000000..452b75f62 --- /dev/null +++ b/00-HTML-CSS-basics/css/style-selectors.css @@ -0,0 +1,21 @@ +*{ + font-weight: bold; +} +header[class=header]{ + font-size: 46px; + background-color: magenta; +} +.footer{ + font-size: 10px; + background-color: magenta; +} +.content{ + font-size: 14px; +} +nav[class=navigation]{ + font-size: 12px; + background-color: blue; +} +.sidebar{ + font-size: 10px; +} \ No newline at end of file diff --git a/00-HTML-CSS-basics/css/style.css b/00-HTML-CSS-basics/css/style.css new file mode 100644 index 000000000..d02374f26 --- /dev/null +++ b/00-HTML-CSS-basics/css/style.css @@ -0,0 +1,106 @@ +* { + font-size: 14px; + font-family: "lato", "serif"; +} +.top-container { + box-sizing: content-box; + margin: 10px; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + background-color: #666666; + color:white; + justify-content: center; + align-items: center; + border-radius: 15px; + padding-top: 30px; + padding-bottom: 30px; +} +.center-container { + box-sizing: content-box; + margin: 10px; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + text-align: center; + border-radius: 15px; +} +.bottom-container { + box-sizing: content-box; + margin: 10px; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + color: orange; + background-color: #666666; + color:white; + align-items: center; + justify-content: center; + text-align: center; + border-radius: 15px; + padding-top: 30px; + padding-bottom: 30px; +} +.side-navigation { + background-color: #939393; + padding-top: 168px; + padding-bottom: 168px; + color: white; + width: 20%; + margin-right: 10px; + border-radius: 15px; +} +.center-section { + background-color: #666666; + color: white; + width: 60%; + border-radius: 15px; +} +.aside-left { + background-color: #939393; + padding-top: 168px; + padding-bottom: 168px; + color: white; + width: 20%; + margin-left: 10px; + border-radius: 15px; +} +.section-header { + background-color: #999999; + color: white; + margin: 10px; + padding-top: 15px; + padding-bottom: 15px; + border-radius: 15px; +} +.section-article { + background-color: #999999; + padding-top: 65px; + padding-bottom: 65px; + color: white; + margin: 10px; + border-radius: 15px; +} +.section-footer { + background-color: #999999; + padding-top: 15px; + padding-bottom: 15px; + color: white; + margin: 10px; + border-radius: 15px; +} +.bottom-footer { + color:white; + align-items: center; + text-align: center; + border-radius: 15px; +} +.container { + background-color: #333333; + padding-top: 10px; + padding-bottom: 10px; + height: 100vh; +} \ No newline at end of file diff --git a/00-HTML-CSS-basics/ejercicio-2.6-Media-queries.html b/00-HTML-CSS-basics/ejercicio-2.6-Media-queries.html new file mode 100644 index 000000000..99116c326 --- /dev/null +++ b/00-HTML-CSS-basics/ejercicio-2.6-Media-queries.html @@ -0,0 +1,91 @@ + + + + + + + 2.5.2 CSS Practice + + + + + + + + + + + + +
+
+
+

Bootcamp Showcase

+
+ +
+

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus ullam blanditiis modi accusantium quia, at esse beatae, consectetur sint nobis reiciendis odit laborum ipsam corporis sunt, repellat. Voluptatum, sunt, laborum.


+

Consectetur sint nobis reiciendis odit laborum ipsam corporis sunt, repellat. Voluptatum, sunt, laborum.

+
+
+ +
+
+
+ Desktop computer and tablet image +
+
+

Demostrativo uno

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

+
+
+
+
+ Desktop computer and tablet image +
+
+

Demostrativo dos

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

+
+
+
+ Desktop computer and tablet image +
+
+

Demostrativo tres

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

+
+
+
+
+
+ Desktop computer and tablet image +
+
+

Demostrativo cuatro

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

+
+
+
+ Desktop computer and tablet image +
+
+

Demostrativo cinco

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

+
+
+
+ Desktop computer and tablet image +
+
+

Demostrativo seis

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

+
+
+
+
+ + + \ 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..01950ab46 --- /dev/null +++ b/00-HTML-CSS-basics/index.html @@ -0,0 +1,55 @@ + + + + + + + 2.1 CSS Practice + + + + + + + + + + + +
+
+
+

HEADER

+
+
+
+ +
+

SECTION

+
+

HEADER

+
+
+

ARTICLE

+
+
+

FOOTER SECTION

+
+
+ +
+
+
+

FOOTER

+
+
+
+ + + \ No newline at end of file diff --git a/00-HTML-CSS-basics/layout-ejercicio-2.5.2.html b/00-HTML-CSS-basics/layout-ejercicio-2.5.2.html new file mode 100644 index 000000000..1d17a07da --- /dev/null +++ b/00-HTML-CSS-basics/layout-ejercicio-2.5.2.html @@ -0,0 +1,91 @@ + + + + + + + 2.5.2 CSS Practice + + + + + + + + + + + + +
+
+
+

Bootcamp Showcase

+
+ +
+

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus ullam blanditiis modi accusantium quia, at esse beatae, consectetur sint nobis reiciendis odit laborum ipsam corporis sunt, repellat. Voluptatum, sunt, laborum.


+

Consectetur sint nobis reiciendis odit laborum ipsam corporis sunt, repellat. Voluptatum, sunt, laborum.

+
+
+ +
+
+
+ Desktop computer and tablet image +
+
+

Demostrativo uno

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

+
+
+
+
+ Desktop computer and tablet image +
+
+

Demostrativo dos

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

+
+
+
+ Desktop computer and tablet image +
+
+

Demostrativo tres

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

+
+
+
+
+
+ Desktop computer and tablet image +
+
+

Demostrativo tres

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

+
+
+
+ Desktop computer and tablet image +
+
+

Demostrativo cinco

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

+
+
+
+ Desktop computer and tablet image +
+
+

Demostrativo seis

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

+
+
+
+
+ + + \ No newline at end of file diff --git a/00-HTML-CSS-basics/multimedia.html b/00-HTML-CSS-basics/multimedia.html new file mode 100644 index 000000000..50432355f --- /dev/null +++ b/00-HTML-CSS-basics/multimedia.html @@ -0,0 +1,27 @@ + + + + + + Multimedia site + + + +
+

Multimedia Test on HTML5

+
+ +

Video Test

+ + +

Audio Test

+ + +

Image Test

+ Desktop computer and tablet image + + diff --git a/00-HTML-CSS-basics/my-expenses.html b/00-HTML-CSS-basics/my-expenses.html new file mode 100644 index 000000000..a1c7a3f3e --- /dev/null +++ b/00-HTML-CSS-basics/my-expenses.html @@ -0,0 +1,42 @@ + + + + + + My expenses + + +
+ +

My Expenses

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
DescriptionDateAmount
Supermarket Purchases of the week06 May 2018$1500,00
Month Rent payment06 May 2018$6000,00
Purchase of new Refrigerator06 May 2018$9000,00
Total expense up to date$16500,00
+ + + diff --git a/00-HTML-CSS-basics/my-todo-list.html b/00-HTML-CSS-basics/my-todo-list.html new file mode 100644 index 000000000..85842b13e --- /dev/null +++ b/00-HTML-CSS-basics/my-todo-list.html @@ -0,0 +1,19 @@ + + + + + + My to do list + + + +
+

My to do list

+
+ + + \ No newline at end of file diff --git a/00-HTML-CSS-basics/sandia.png b/00-HTML-CSS-basics/sandia.png new file mode 100644 index 000000000..cd249330c Binary files /dev/null and b/00-HTML-CSS-basics/sandia.png differ