-
Notifications
You must be signed in to change notification settings - Fork 200
topic 0 #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
RodrigoAlejandroBelsito
wants to merge
2
commits into
globant-ui:master
Choose a base branch
from
RodrigoAlejandroBelsito:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
topic 0 #30
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| table { | ||
| border: 1px solid black; | ||
| } | ||
|
|
||
| th { | ||
| height: 50px; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| <!doctype html> | ||
| <html class="no-js" lang="es"> | ||
|
|
||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>Bootcamp - Expenses</title> | ||
| <meta name="description" content=""> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
|
||
| <link rel="stylesheet" href="normalize.css"> | ||
| <link rel="stylesheet" href="expenses.css"> | ||
|
|
||
| <meta name="theme-color" content="#fafafa"> | ||
| </head> | ||
|
|
||
| <body> | ||
| <table> | ||
| <tr> | ||
| <th>Expense</th> | ||
| <th>Cost</th> | ||
| </tr> | ||
| <tr> | ||
| <td>Apples</td> | ||
| <td>20</td> | ||
| </tr> | ||
| <tr> | ||
| <td>Bananas</td> | ||
| <td>30</td> | ||
| </tr> | ||
| </table> | ||
| </body> | ||
|
|
||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| <!doctype html> | ||
| <html class="no-js" lang="es"> | ||
|
|
||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>Bootcamp - Todo List</title> | ||
| <meta name="description" content=""> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
|
||
| <link rel="stylesheet" href="normalize.css"> | ||
| <link rel="stylesheet" href=""> | ||
|
|
||
| <meta name="theme-color" content="#fafafa"> | ||
| </head> | ||
|
|
||
| <body> | ||
| <header>My todo list</header> | ||
| <ul> | ||
| <li>Breakfast</li> | ||
| <li>Do some exercise</li> | ||
| <li>Do some code</li> | ||
| <li>Work</li> | ||
| </ul> | ||
| </body> | ||
|
|
||
| </html> |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| img { | ||
| width: 30%; | ||
| } | ||
|
|
||
| video { | ||
| width: 30%; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| <!doctype html> | ||
| <html class="no-js" lang="es"> | ||
|
|
||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>Bootcamp - Media</title> | ||
| <meta name="description" content=""> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
|
||
| <link rel="stylesheet" href="normalize.css"> | ||
| <link rel="stylesheet" href="media.css"> | ||
|
|
||
| <meta name="theme-color" content="#fafafa"> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div>Image</div> | ||
| <img src="foto.jpg" alt="Italian Trulli"> | ||
|
|
||
| <div>Video</div> | ||
| <video width="320" height="240" controls> | ||
| <source src="video.mp4" type="video/mp4"> | ||
| Your browser does not support the video tag. | ||
| </video> | ||
| <div>Audio</div> | ||
| <audio controls> | ||
| <source src="audio.mp3" type="audio/mpeg"> | ||
| Your browser does not support the audio element. | ||
| </audio> | ||
| </body> | ||
|
|
||
| </html> |
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| input[type=text] { | ||
| background-color: #3CBC8D; | ||
| color: white; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| <!doctype html> | ||
| <html class="no-js" lang="es"> | ||
|
|
||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>Bootcamp - Form</title> | ||
| <meta name="description" content=""> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
|
||
| <link rel="stylesheet" href="normalize.css"> | ||
| <link rel="stylesheet" href="form.css"> | ||
|
|
||
| <meta name="theme-color" content="#fafafa"> | ||
| </head> | ||
|
|
||
| <body> | ||
| <form action="/action_page.php" method="get"> | ||
| <label>First name: <input type="text" name="fname"></label></br> | ||
| <label>Last name: <input type="text" name="lname"> </label></br> | ||
| <label>Email: <input type="text" name="fname"> </label></br> | ||
| <label>Birthday: <input type="text" name="lname"> </label></br> | ||
| <label>Favourite Sport: <input type="text" name="fname"></label></br> | ||
| <select> | ||
| <option value="Football">Football</option> | ||
| <option value="Basketball">Basketball</option> | ||
| <option value="Tenis">Tenis</option> | ||
| <option value="ArmWrestling">ArmWrestling</option> | ||
| </select> </br> | ||
| <label></label>BIO: <input type="text" name="lname"></label> | ||
| <input type="submit" value="Submit"><input type="reset"> | ||
| </form> | ||
| </body> | ||
|
|
||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| html { | ||
| font-size: 14px; | ||
| font-family: Arial, Helvetica, sans-serif | ||
| } | ||
|
|
||
| header { | ||
| text-align: center; | ||
| } | ||
|
|
||
| footer { | ||
| text-align: center; | ||
| } | ||
|
|
||
| aside {} | ||
|
|
||
| nav {} | ||
|
|
||
| .header { | ||
| font-size: 46px; | ||
| background-color: #FF00FF; | ||
| } | ||
|
|
||
| .footer { | ||
| font-size: 10px; | ||
| background-color: #FF00FF; | ||
| } | ||
|
|
||
| .section { | ||
| font-size: 14px; | ||
| } | ||
|
|
||
| .nav { | ||
| font-size: 12px; | ||
| background-color: #0000FF; | ||
| } | ||
|
|
||
| .aside { | ||
| font-size: 10px; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| <!doctype html> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What about point 2.5 Layout ? |
||
| <html class="no-js" lang="es"> | ||
|
|
||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>Bootcamp - Form</title> | ||
| <meta name="description" content=""> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
|
||
| <link rel="stylesheet" href="normalize.css"> | ||
| <link rel="stylesheet" href="index.css"> | ||
|
|
||
| <meta name="theme-color" content="#fafafa"> | ||
| </head> | ||
|
|
||
| <body> | ||
| <header class="header">HEADER</header> | ||
| <nav class="nav">NAV</nav> | ||
| <section class="section"> | ||
| <header class="header">SECTION HEADER</header> | ||
| <article>SECTION ARTICLE</article> | ||
| <footer class="footer">SECTION FOOTER</footer> | ||
| </section> | ||
| <aside>ASIDE</aside> | ||
| <footer>FOOTER</footer> | ||
| </body> | ||
|
|
||
| </html> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| p { | ||
| font-family: Arial, Helvetica, sans-serif; | ||
| font-size: 15px; | ||
| } | ||
|
|
||
| p.oculto { | ||
| visibility: hidden; | ||
| } | ||
|
|
||
| p.visible { | ||
| visibility: visible; | ||
| } | ||
|
|
||
| #pa { | ||
| display: none; | ||
| } | ||
|
|
||
| div { | ||
| text-align: center; | ||
| } | ||
|
|
||
| section { | ||
| text-align: center; | ||
| } | ||
|
|
||
| nav { | ||
| text-align: center; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| <!doctype html> | ||
| <html class="no-js" lang="es"> | ||
|
|
||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>Bootcamp - Topic 1</title> | ||
| <meta name="description" content=""> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
| <link rel="stylesheet" href="css/style.css"> | ||
| <meta name="theme-color" content="#fafafa"> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div> | ||
| <p id="p1" class="oculto">Paragraph</p> | ||
| </br> | ||
| <input type="button" value="Make Paragraph Visible" id="bt1"> | ||
| </br> | ||
| <footer> | ||
| </footer> | ||
| </div> | ||
| <script type="text/javascript" src="js/script.js"></script> | ||
| </body> | ||
|
|
||
| </html> | ||
|
|
||
| <!-- /* | ||
|
|
||
| Creating our index page with some sections. | ||
| Create a file called index.html with the correct doctype and some random content. | ||
| Add a stylesheet to the HTML file and use it to center the texts of all section elements. | ||
| Add a hidden section with Hello World inside of it. | ||
| When the page finished loading the section must fade in. | ||
| Adding some events | ||
| Add a button below the section to your index page. | ||
| Create a function that showcases an alert message when called. | ||
| Attach a click event to the created button which calls the function previously created. | ||
|
|
||
| Data fetching | ||
|
|
||
| Create a function to get the response from http://api.icndb.com/jokes/random. | ||
|
|
||
| Replace the button's click event with this new function. | ||
|
|
||
| Write the response inside the section element. | ||
|
|
||
| Create a reusable function to perform AJAX calls. This function must accept a config object and return an ES6 Promise. | ||
|
|
||
| If a server error occurs section content must turn red. | ||
|
|
||
| Hint: Use the XMLHttpRequest to fetch data from the service. | ||
|
|
||
| Data fetching with parameters: | ||
| Create a function to get the response from https://api.github.com/search/repositories with parameters q = 'JavaScript'. | ||
|
|
||
| Showcase a list of repositories, provided by the service, in the right side of the screen. | ||
| Hint: ul must be used to list the repositories. | ||
|
|
||
| Add an input with type="text" to perform a search for any value. | ||
|
|
||
| W3C | ||
|
|
||
| Validate your page using W3C validator: https://addons.mozilla.org/en-US/firefox/addon/web-developer/ | ||
| DOM manipulation | ||
|
|
||
| Write a function that takes as input a matrix of data and outputs a DOM structure representing a table. Attach it to the body of a given page. | ||
|
|
||
| Hint: use document.createElement, document.createTextNode, and Node.appendChild methods. | ||
|
|
||
| */ --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| /* window.onload = function() { | ||
| document.getElementById('pa').className = "visible"; | ||
| }; */ | ||
|
|
||
| var pr1 = document.getElementById("p1"); | ||
| var bT1 = document.getElementById("bt1"); | ||
|
|
||
| const Http = new XMLHttpRequest(); | ||
| const url = 'http://api.icndb.com/jokes/random'; | ||
| Http.open("GET", url); | ||
| Http.send(); | ||
|
|
||
| Http.onreadystatechange = (e) => { | ||
| console.log(Http.responseText) | ||
| } | ||
|
|
||
| function makeItVisible() { | ||
| pr1.className = "visible"; | ||
| } | ||
|
|
||
| function alertMessage() { | ||
| alert("Alert Message"); | ||
| } | ||
|
|
||
| window.onload = makeItVisible(); | ||
| bT1.addEventListener("click", () => alertMessage()); | ||
|
|
||
| /* btV.addEventListener("click", () => makeItVisible()); */ |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about this items?
4. If the class attribute finishes with r (example header, footer), the background must be magenta.
5. If the class attribute contains an a (example nav) but do NOT finish with r, the background must be blue.