Git Product home page Git Product logo

codecademy-exercise-answers's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codecademy-exercise-answers's Issues

Text of exercises and structure

Many of source code it's not readable without the text of exercise, and theory it's necessary. Any ideas for improve it?

I'm now trying to create a good readable structure and has think to merge some source code from here, but your structure have horrible looks.

Forgot to log to console

In Introduction to JavaScript; Variables; 4. Undefined, you forgot to log the first variable you defined, as CodeCademy said to do. It still will allow you to move on to the next one though, but the code should be fixed. I'll give you the correct code.

let notDefined;
console.log(notDefined);
let valueless;
console.log(valueless);

Create contributing guide

Guide should clearly explain how to add new exercises and answers to the repository without breaking a "global formatting style", so all answers should be formatted in one way.

Please submit your suggestions

To help us improve the Codecademy exercise answers repository, please submit your thoughts, ideas and suggestions, by creating a new issue with a tag "help wanted" or "suggestion".

Thanks

Create How to use API subfolder

Create a How to use API subfolder in APIs folder and add answers to the following exercises:

  • How to use APIs with Ruby
  • How to use APIs with Python
  • How to use APIs with JavaScript

(Talker.js) The code is wrong?

PATH = Web Developer Skills/Learn ReactJS Part I/Unit 03 Components Interacting/02 this props/10 handleEvent onEvent and this props on Event/Talker.js .

Talker.js = This code is not accepting.

Follow the correct code:

var React = require('react');
var ReactDOM = require('react-dom');
var Button = require('./Button');

var Talker = React.createClass({
  handleClick: function () {
    for (var speech = '', i = 0; i < 10000; i++) {
      speech += 'blah ';
    }
    alert(speech);
  },
  
  render: function () {
    return <Button onClick={this.handleClick} />;
  }
});

ReactDOM.render(
  <Talker />,
  document.getElementById('app')
);

Web Developer Skills folder is missing with some Python sub-folders

error: unable to create file Language Skills/Python/Unit 03 Conditionals and Control Flow/02 PygLatin/PygLatin PART2/11-Testing is this thing on?.py (Invalid argument)
error: unable to create file Language Skills/Python/Unit 04 Functions/01 Functions/Introduction to Functions/1-What good are functions?.py (Invalid argument)
error: unable to create file Language Skills/Python/Unit 06 Student Becomes the Teacher/01 Good Morning Class!/2-Whats the score?.py (Invalid argument)
error: unable to create file Language Skills/Python/Unit 06 Student Becomes the Teacher/02 Just Average/9-How is everything doing?.py (Invalid argument)
fatal: cannot create directory at 'Language Skills/Python/Unit 07 Lists and Functions/02 Battleship!/Hit or Miss?': Invalid argument

Clean repository from old content

Compare the current repository with the active courses on codecademy.com, if something is not active, move to /Non-Trackable Content folder.

APIs folder restructure

At the moment we have a bit of the mess in APIs folder. It might be a good idea to group APIs by programming language.

APIs

  • How to use APIs
    • How to use APIs with JavaScript
    • How to use APIs with Python
    • How to use APIs with Ruby
  • JavaScript APIs
    • Bla bla bla
  • Python APIs
    • Bla bla bla
  • Ruby APIs
    • Bla bla bla

Add syntax highlight to all readmes

I've noticed that in most of the exercise answers for JavaScript path answer is wrapped into code element. The problem is that it was is not highlighted, because it uses the naming script.js instead of javascript. We can see an example on this readme with answers.


```script.js

// exercise answer is here

```

Relatives links in README.md

A relative link is a link that is relative to the current file. For example, if your README is at the root of your repository, and you have another file in docs/more_words.md, the relative link to more_words.md in your README might look like this:

[Read more words!](docs/more_words.md)

GitHub will automatically transform your relative links based on whatever branch you're currently on, so that the link always works. All relative link operands (like ./ and ../) are supported. You can also provide relative paths for images!

It is not recommended that you create absolute links in your READMEs with workarounds that refer to the URL, like this:

[Absolute README link](https://github.com/username/repo/blob/branch/docs/more_words.md)

Users cloning your repository will have a much harder time getting the links to work than expected.

Source: Help GitHub.

Change all links from absolute to relatives, after the repository restructure.

IndentationError: expected an indented block

#While executing following code:
import networkx as net
import urllib
import urllib.request
from urllib.request import urlopen
def read_lj_friends(g, name):

Getting Error in next line

response=urllib.urlopen('http://www.livejournal.com/misc/fdata.bml?user=valerois')
for line in response.readlines():
if line.startswith('#'): continue
parts=line.split()
if len(parts)==0: continue
if parts[0]=='<':
g.add_edge(parts[1],name)
else:
g.add_edge(name,parts[1])
g=net.Graph()
read_lj_friends(g,'valerois')
len(g)
net.draw(g)

Error:
exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Users/DELL/Documents/Python Scripts/sample/myscript.py", line 8
response=urllib.urlopen('http://www.livejournal.com/misc/fdata.bml?user=valerois')
^
IndentationError: expected an indented block

New JavaScript course on Codecademy?

Hi there, this version of the JavaScript course is being taken down in Summer 2017; we recommend you try our new Learn JavaScript course. Please read our blog post for more information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.