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
0
votes
1 answer

How to select language in videos through the khan academy API?

I am incorporating the api of khan academy and I need to receive videos from the platform in Spanish, the incorporation is made in PHP, I need to know if there is any way to request the videos in a specific language, thanks
0
votes
1 answer

Way to correct access specific exercise Khan Academy

Hi I am trying to get a certain exercise from KhanAcademy by first doing the request: http://www.khanacademy.org/api/v1/exercises/negative_number_word_problems This gives me all the tasks for the exercise e.g "items": [ { "sha":…
Bodlund
  • 81
  • 8
0
votes
0 answers

Property 'props' does not work in userscript (for khanacademy)

I don't know if this question is against the rules, so I'll understand if it gets deleted or if I receive a punishment. The following script creates an alert with the answer of a multiple choice exercise in Khanacademy. It works basically in all…
TBG
  • 305
  • 4
  • 10
0
votes
0 answers

Setting Content-Security-Policy inside of a Khan Academy html program. To be able to access html files inside of Khan Academy

I want to make an html program in Khan Academy that uses http requests to get an html file from Khan Academy. I've done this offline but I need to do it in Khan Academy. CSP is Content-Security-Policy The problem is I don't know how to set headers…
user9927483
0
votes
1 answer

Khan Academy Towers of Hanoi recursion Step 3

I need help on step three of solve Hanoi recursively and it says that all of my assertions do not pass and I have looked at other peoples answer and it is the same as mine. My code is Program.assertEqual(hanoi.isSolved("B"),true); that is what they…
0
votes
1 answer

Neural Network Oscillates Around 0.5

I wanted to create my own neural network - mainly for the fun of it, but also because Khan Academy doesn't allow libraries, and I hadn't seen any good neural nets on the site. Neural Network Info: The one I am showing in the images is a 1-2-3-2-1…
simplexshotz
  • 139
  • 12
0
votes
1 answer

Javascript Khan Academy OAuth can't override default_callback

I've got this express app going; const oa = new OAuth( 'https://www.khanacademy.org/api/auth2/request_token', 'https://www.khanacademy.org/api/auth2/access_token', process.env.CONSUMER_KEY, process.env.CONSUMER_SECRET, '1.0', …
Kael Kirk
  • 324
  • 2
  • 9
0
votes
1 answer

Keyword Search in the Khan Academy API

I am using Khan Academy API to get topics, exercises and videos. I want a basic "search by keyword" feature through the API, where a user can type a keyword and the app displays a list of topics, exercises and videos containing that keyword. But,…
Zohaib Akram
  • 19
  • 1
  • 6
0
votes
2 answers

Using foreign keys in SQL

I want to use 'Postcode' from 'address' table which is a primary key there, as a foreign key in 'customers' table. I did the same for getting 'RentalID' from rentals table as a foreign key in 'customers' table, however, when I try doing the same for…
0
votes
1 answer

Link text is Unclear error even when tag has descriptive links. ( tota11y)

I have a tag, which has the following structure Regenerate Even though it has the descriptive links, tota11y throws an error "Link Text is unclear". I am not able to figure out why it is throwing an…
user7761868
  • 94
  • 1
  • 6
0
votes
1 answer

Making multiple objects move across the screen

From the code, I don't really know how to make the objects (Trees, roads, clouds) go to x = 400 and move across the screen when these objects go off the screen beyond x = 0 so that the animation will be continuous forever. Ps. I use the variable…
Mac2000
  • 35
  • 4
0
votes
1 answer

Khan academy: JavaScript loop taking too long

I'm reading through the khan academy course on algorithms. I'm at https://www.khanacademy.org/computing/computer-science/algorithms/insertion-sort/p/challenge-implement-insertion-sort. So far I have: var insert = function(array, rightIndex, value)…
user1592380
  • 34,265
  • 92
  • 284
  • 515
0
votes
1 answer

Javascript for loop with condition

I'm reading through the khan academy course on algorithms. I'm at https://www.khanacademy.org/computing/computer-science/algorithms/insertion-sort/p/challenge-implement-insert . After calling the insert function: * value and the elements that…
user1592380
  • 34,265
  • 92
  • 284
  • 515
0
votes
0 answers

Insertion - what's wrong with my code or is it just a website bug?

It's from Khan Academy challenge: implement insert. I can't seem to move on even though the results are correct. var insert = function(array, rightIndex, value) { var key=value; for(var i=rightIndex; key=0; i--) { …
Geek
  • 19
  • 2
0
votes
1 answer

HEX Code into JavaScript

How do I put a HEX code into Khan Academy's JavaScript? I would like to make it a fill color, but I can not find the right command. I have tried many things that people have also tried but none seem to work on Khan Academy. Please help.
WhovianDude
  • 9
  • 1
  • 3