-
Notifications
You must be signed in to change notification settings - Fork 20
skjfghsdjlk #3
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?
skjfghsdjlk #3
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 |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| $(document).ready(function(){ | ||
|
|
||
| console.log("hegjkhsgfsd"); | ||
|
|
||
| $("div").click(function(){ | ||
|
|
||
| var output = $(this).html(); | ||
|
|
||
| console.log(output); | ||
|
|
||
| }); | ||
|
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. great |
||
| }); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | ||
| <script src="click.js"></script> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div>Hello</div> | ||
| <div>wieners</div> | ||
| </body> | ||
| </html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| <html> | ||
| <head> | ||
| <script src="length.js"></script> | ||
| </head> | ||
|
|
||
| <body> | ||
|
|
||
|
|
||
| </body> | ||
| </html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| var thing = "things"; | ||
|
|
||
| console.log(thing.length); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| var grade = 200; | ||
|
|
||
| if(grade <= 65){ | ||
| console.log("F"); | ||
| } | ||
| else if(grade <= 74){ | ||
| console.log("C"); | ||
| } | ||
|
|
||
| else if(grade <= 89){ | ||
| console.log("B"); | ||
| } | ||
|
|
||
| else if(grade <= 100){ | ||
| console.log("A"); | ||
| }else{ | ||
| console.log("Number too high."); | ||
| } | ||
|
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. This is good as is, but do you think we can make it even better? Maybe factor out the |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| for(var x = 1; x > 16; x++){ | ||
| var total = 1; | ||
| var newtotal *= total * x; | ||
| } | ||
|
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. You're obviously headed in the right direction, but just a couple things:
|
||
|
|
||
| console.log(newtotal); | ||
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.
I wanna see you pronounce this one ;-)