-
Notifications
You must be signed in to change notification settings - Fork 20
first commit #17
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
base: master
Are you sure you want to change the base?
first commit #17
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,29 +1,26 @@ | ||
| # Scavenger Hunt - Instructions | ||
| ,-----.,--. ,--. ,---. ,--.,------. ,------. | ||
| ' .--./| | ,---. ,--.,--. ,-| || o \ | || .-. \ | .---' | ||
| | | | || .-. || || |' .-. |`..' | | || | \ :| `--, | ||
| ' '--'\| |' '-' '' '' '\ `-' | .' / | || '--' /| `---. | ||
| `-----'`--' `---' `----' `---' `--' `--'`-------' `------' | ||
| ----------------------------------------------------------------- | ||
|
|
||
| 1. Fork this repository on GitHub | ||
| 2. Clone it to your Cloud9 VM: | ||
|
|
||
| ```Bash | ||
| $ git clone <your repo's address> | ||
| ``` | ||
| Hi there! Welcome to Cloud9 IDE! | ||
|
|
||
| 3. Solve | ||
| [clues](https://github.com/ScriptEdcurriculum/curriculum2015/blob/master/unitsYear2/1-JShunt/clues/README.md) | ||
| and save under `solutions` directory (separate directory for each clue) | ||
| 4. Commit your changes: | ||
| To get you started, we included a small hello world application. | ||
|
|
||
| ```Bash | ||
| $ git add . # to stage all your changes | ||
| $ git commit -am 'commit message here' # to commit | ||
| ``` | ||
| 1) Open the hello-world.html file | ||
|
|
||
| 4. Push to your repository on GitHub: | ||
| 2) Click on the Preview button to open a live preview pane | ||
|
|
||
| ```Bash | ||
| $ git push origin master | ||
| ``` | ||
| 3) Make some changes to the file, save, watch the preview, and have fun! | ||
|
|
||
| 5. Open a Pull Request (PR) to the original fork (TpTScriptEd's) | ||
| 6. Submit a link to your PR | ||
| [here](https://docs.google.com/forms/d/1KbaHfDjgmVDn1446ow7tUjssfNKlrqC9RBnTznNqZgE/viewform) | ||
| Happy coding! | ||
| The Cloud9 IDE team | ||
|
|
||
|
|
||
| ## Support & Documentation | ||
|
|
||
| Visit http://docs.c9.io for documentation, or http://support.c9.io for support. | ||
| To watch some training videos, visit http://www.youtube.com/user/c9ide |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| <!DOCTYPE html> | ||
| <!-- HTML5 Hello world by kirupa - http://www.kirupa.com/html5/getting_your_feet_wet_html5_pg1.htm --> | ||
| <html lang="en-us"> | ||
|
|
||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>Hello...</title> | ||
| <style type="text/css"> | ||
| #mainContent { | ||
| font-family: Arial, Helvetica, sans-serif; | ||
| font-size: xx-large; | ||
| font-weight: bold; | ||
| background-color: #E3F0FB; | ||
| border-radius: 4px; | ||
| padding: 10px; | ||
| text-align: center; | ||
| } | ||
| .buttonStyle { | ||
| border-radius: 4px; | ||
| border: thin solid #F0E020; | ||
| padding: 5px; | ||
| background-color: #F8F094; | ||
| font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; | ||
| font-weight: bold; | ||
| color: #663300; | ||
| width: 75px; | ||
| } | ||
|
|
||
| .buttonStyle:hover { | ||
| border: thin solid #FFCC00; | ||
| background-color: #FCF9D6; | ||
| color: #996633; | ||
| cursor: pointer; | ||
| } | ||
| .buttonStyle:active { | ||
| border: thin solid #99CC00; | ||
| background-color: #F5FFD2; | ||
| color: #669900; | ||
| cursor: pointer; | ||
| } | ||
|
|
||
| </style> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div id="mainContent"> | ||
| <p id="helloText">?</p> | ||
| <button id="clickButton" class="buttonStyle">click me</button> | ||
| </div> | ||
| <script> | ||
| var myButton = document.getElementById("clickButton"); | ||
| var myText = document.getElementById("helloText"); | ||
|
|
||
| myButton.addEventListener('click', doSomething, false) | ||
|
|
||
| function doSomething() { | ||
| myText.textContent = "hello, world!"; | ||
| } | ||
| </script> | ||
|
|
||
| </body> | ||
| </html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| function roman(num) { | ||
| var romans = { | ||
| M: 1000; | ||
| D: 500; | ||
| C: 100; | ||
| L: 50; | ||
| X: 10; | ||
| V: 5; | ||
| I: 1; | ||
| }; | ||
|
|
||
| num = 26; | ||
| var str = ''; | ||
| var dummy = Math.floor(num/10) | ||
| if(dummy > 0){ | ||
| str += letter * dummy | ||
| num = num - 2 * 10 | ||
| } | ||
|
|
||
|
|
||
|
|
||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
|
|
||
| <title>Hello!</title> | ||
|
|
||
| <body> | ||
| <p>World!</p> | ||
|
|
||
| </body> | ||
|
|
||
| </html> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
|
Member
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. dont forget your |
||
| <body> | ||
|
|
||
| <p> | ||
| Hello,World | ||
| </p> | ||
|
|
||
| </body> | ||
|
|
||
| </html> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| <!DOCTYPE html> | ||
| <!-- HTML5 Hello world by kirupa - http://www.kirupa.com/html5/getting_your_feet_wet_html5_pg1.htm --> | ||
| <html lang="en-us"> | ||
|
|
||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>Hello...</title> | ||
| <style type="text/css"> | ||
| #mainContent { | ||
| font-family: Arial, Helvetica, sans-serif; | ||
| font-size: xx-large; | ||
| font-weight: bold; | ||
| background-color: #E3F0FB; | ||
| border-radius: 4px; | ||
| padding: 10px; | ||
| text-align: center; | ||
| } | ||
| .buttonStyle { | ||
| border-radius: 4px; | ||
| border: thin solid #F0E020; | ||
| padding: 5px; | ||
| background-color: #F8F094; | ||
| font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; | ||
| font-weight: bold; | ||
| color: #663300; | ||
| width: 75px; | ||
| } | ||
|
|
||
| .buttonStyle:hover { | ||
| border: thin solid #FFCC00; | ||
| background-color: #FCF9D6; | ||
| color: #996633; | ||
| cursor: pointer; | ||
| } | ||
| .buttonStyle:active { | ||
| border: thin solid #99CC00; | ||
| background-color: #F5FFD2; | ||
| color: #669900; | ||
| cursor: pointer; | ||
| } | ||
|
|
||
| </style> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div id="mainContent"> | ||
| <p id="helloText">?</p> | ||
| <button id="clickButton" class="buttonStyle">click me</button> | ||
| </div> | ||
| <script> | ||
| var myButton = document.getElementById("clickButton"); | ||
| var myText = document.getElementById("helloText"); | ||
|
|
||
| myButton.addEventListener('click', doSomething, false) | ||
|
|
||
| function doSomething() { | ||
| myText.textContent = "hello, world!"; | ||
| } | ||
| </script> | ||
|
|
||
| </body> | ||
| </html> | ||
|
Member
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. Feel free to remove all those extra files cloud9 initially generated. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <body> | ||
|
|
||
| <img src = "http://weknowyourdreams.com/image.php?pic=/images/dog/dog-07.jpg"> | ||
| <p>It's a dawg</p> | ||
|
|
||
| <img src = "http://bebusinessed.com/wp-content/uploads/2014/03/734899052_13956580111.jpg"> | ||
|
Member
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. very nice! just make sure |
||
| <p>It's another dawg</p> | ||
|
|
||
| </body> | ||
|
|
||
| </html> | ||
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.
nice!