ummahusla / codecademy-exercise-answers Goto Github PK
View Code? Open in Web Editor NEW:mortar_board: Codecademy.com exercise answers
Home Page: https://ummahusla.github.io/Codecademy-Exercise-Answers/
License: MIT License
:mortar_board: Codecademy.com exercise answers
Home Page: https://ummahusla.github.io/Codecademy-Exercise-Answers/
License: MIT License
Compare the current repository with the active courses on codecademy.com, if something is not active, move to /Non-Trackable Content
folder.
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')
);
The instructions call for 10px, 20px, and 40px instead of what's there right now.
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 with JavaScript
How to use APIs with Python
How to use APIs with Ruby
Bla bla bla
Bla bla bla
Bla bla bla
Instructions
Change list_function so that:
def list_function(n):
ns = []
append.ns[0]=3
return ns
It would be really nice restructure Requests, Improvements, Issues
section. We should add a ToDo part before section and pull all issues with tag enhancement
and help wanted
.
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.
Create an unordered list and list all APIs folder exercises
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);
#While executing following code:
import networkx as net
import urllib
import urllib.request
from urllib.request import urlopen
def read_lj_friends(g, name):
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
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.
Create a How to use API subfolder in APIs folder and add answers to the following exercises:
Yesterday I had an issue with the repository on my Windows machine, because Windows doesn't allow ?
, *
and \
in the folder names.
Codecademy exercise answer's repo is a bit out of date and should be restructured:
APIs section should be restructured
Create wiki pages for:
I've merged the recent commit without checking the Learn Git folder structure. Needs to be restructured apropriately.
For the last couple of months, Codecademy has added a lot of new course in Web Development skills category.
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
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.
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 and style GitHub page appropriately.
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.
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
```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.