Questions tagged [khan-academy]

This tag is for questions related to interfacing with Khan Academy, such as through the Khan Academy API. Do not use this tag for questions related to the courses that you are taking on Khan Academy.

The Khan Academy is a website dedicated to instructional videos on a wide array of topics.

All of the site's resources are available to anyone. Khan Academy's materials and resources are available to you completely free of charge.

This tag is for questions related to the Khan Academy API and other ways of interfacing with Khan Academy. This tag is not for questions related to the courses taken on Khan Academy. Use other specific tags for those.

111 questions
13
votes
4 answers

How can Khan Academy computer programs be run offline or on my own website?

I have developed programs in Khan Academy's Computer Programming lessons that I would like to run outside of Khan Academy. How can that be done?
Robert Tupelo-Schneck
  • 10,047
  • 4
  • 47
  • 58
12
votes
1 answer

Virtual Latex math keyboard with MathJax or similar

I'm trying to create a virtual math keyboard like the one in khanacademy.org or mathspace.co or similar websites, where you can insert math symbols and write over them to answer a question if you're a student, how can I achieve something like…
Ruby
  • 2,207
  • 12
  • 42
  • 71
8
votes
2 answers

Khan academy Algorithm: Binary Search Solution

I was working towards algorithms in khan academy : https://www.khanacademy.org/computing/computer-science/algorithms/binary-search/p/challenge-binary-search Most of the code below results in -1 ? Why is that? So Binary Search Wont work Efficiently ?…
Sathish
  • 2,056
  • 3
  • 26
  • 40
7
votes
2 answers

React: Rendering a list in reverse order

I'm building an app with React and Reflux, and I am trying to render a list of items in a specific order. The items are custom Post components that are rendered in reverse chronological order, so the newest post is at the top of the list. I am…
5
votes
1 answer

Getting articles through the Khan Academy API

How can I get the articles of a topic through the Khan Academy API? I can see how it works with exercises and videos, but what about articles? For example the query http://www.khanacademy.org/api/v1/topic/beginners-art-history returns the contents…
sofia
  • 440
  • 7
  • 20
5
votes
6 answers

What language is Khan Academy CS using?

My son is playing around with Khan Academy's Computer Science and learning lots. The application is running on JavaScript in the browser but the language doesn't quite conform to JavaScript conventions. e.g. random(low, high) rather than…
Transistor
  • 303
  • 4
  • 13
3
votes
0 answers

Why is my hover state in this memory tiles javascript project not working?

I am trying to add a hover state to this memory tiles project on Khan Academy. I believe I have inserted the correct code at the bottom to change to color of the tile, but when I test the code it only flashes the image that I want to show when…
3
votes
0 answers

Building a Custom Khan Academy

I am a math teacher in a junior high classroom. I am interested in creating a customized Khan Academy-style website for my students to use next year. I have been doing a lot of research at this point and before I really sink my teeth into the…
NRobs
  • 39
  • 2
3
votes
3 answers

Internal APIs for getting access to Khan Academy Challenges

I am writing an app to integrate with Khan Academy, and I was wondering if anyone has figured out how to get the challenges that a learner has done? For example, I have logged in and have done a couple of the challenges in the below programming…
Mark Ellul
  • 1,906
  • 3
  • 26
  • 37
3
votes
1 answer

Pacman Tilemap Cannot Be Correctly Changed

The following code should replace the tilemap index with a blank space, however nothing happens. Tilemap: var tilemap = [ "wwwwwwwwwwwwwwww", "wmmmmmmmmmmmmmmw", "wmwmwmwwwwmwmwmw", "wmmbwmmmmmmwbmmw", "wmwwwwwwwwwwwwmw", …
Fanghole
  • 33
  • 4
3
votes
3 answers

Khan Academy Binary Search Algorithm step 3 correct, but not passing.

I'm working through the Khan Academy Binary Search problem and step three is asking for some basic additions to "...help visualize how long the search takes." The prompt asks to "...add a println() statement that displays the total number of…
2
votes
2 answers

Why can't my algorithm find the index in my array?

Why is my algorithm returning “-1” meaning that target value 73 isn’t in the array? (When clearly 73 is in the array). [this is from Khan Academy, but isn't helping] It's supposed to return either the index of the location in the array, or "-1" if…
2
votes
2 answers

using khan academy programs in websites

I'm a student using Khan Academy to learn coding, and I've made quite a progress there. I've also learnt a fair bit of HTML, CSS and JS in my college. I was wondering if there's a way to play my game (on Khan Academy, written in ProcessingJS) as an…
Adish War
  • 31
  • 1
  • 5
2
votes
2 answers

Why have multiple object methods without parameters?

I had recently begun learning and implementing objects in JavaScript. But it made me think, if the functionality of an object can be put into one method, then why use multiple methods like Example.prototype.update = function() with…
Roman
  • 173
  • 2
  • 2
  • 12
2
votes
1 answer

Get KA exercise hierarchy

Is there a way to get a json with the whole exercise tree using the API, like this (array or object)? Math "Early Math"... ... "Algebra II" "Advanced Functions" "Determine the domain of funs" ... …
MaxD
  • 574
  • 3
  • 10
1
2 3 4 5 6 7 8