Film finder Practical
Codecademy Forums » JavaScript
by board1728808193
1M ago
Hi there. I’ve just completed the film finder project and I’ve encountered two errors: ‘no eval config to sync…console.Observable.js:30’ and ‘no eval config to sync… sagas.ts:164’ I’ve combed through the code and don’t pick up anything. Please help. const tmdbKey = ‘7d9c92ee488f86e21f9a5dd2d2473619’; const tmdbBaseUrl = ‘https://api.themoviedb.org/3’; const playBtn = document.getElementById(‘playBtn’); const getGenres = async () => { const genreRequestEndpoint = ‘/genre/movie/list’ const requestParams = ?api_key=${tmdbKey}; const urlToFetch = ${tmdbBaseUrl}${genreRequestEndpoint}${requestPa ..read more
Visit website
Free textbook - Eloquent JavaScript - 2024 ed
Codecademy Forums » JavaScript
by cassian-goode
1M ago
https://eloquentjavascript.net I have found dipping into this textbook useful to reinforce some of the content learnt on Codecademy. An updated version was published this month (March 2024). You can download it for free at the link provided above. 4 posts - 2 participants Read full topic ..read more
Visit website
Film Finder project missing helper.js functions
Codecademy Forums » JavaScript
by method9206035839
1M ago
Hi there, In the Film Finder exercise in the JSON part of course the script.js file is saying it can’t find some of the functions that are in the helpers.js file, despite being able to find some. I’ve followed the walkthrough video and it didn’t encounter the same issue. The functions that are behaving as though they’ve not been imported are: getSelectedGenre() and getRandomMovie(). Any ideas? (Also, the documentation links provided linked to Movie Database pages that looked very different to the ones in the tutorial video, and were missing things such as explicitly stating endpoints. Maybe it ..read more
Visit website
Film Finder
Codecademy Forums » JavaScript
by 2003salar
1M ago
JavaScript Hey, I have been working on Film Finder Project. When I log the json response of all the other functions I get what I want, however, when turning my face to the app’s functionality, I do not get any response. const movieInfo = document.getElementById('movieInfo'); if (movieInfo.childNodes.length > 0) { clearCurrentMovie(); }; try { const movies = await getMovies(); const randomMovie = getRandomMovie(movies); const info = await getMovieInfo(randomMovie); displayMovie(info); } catch(error) { console.log(error); } }; And this gets logged to my console TypeE ..read more
Visit website
Problem - Exam Book Finder
Codecademy Forums » JavaScript
by r3mi68
1M ago
Hey what’s up, it’s my first contribution here, i’m a french junior developer. I’m a bit stuck in the Exam Book Finder project where the structureBooksAsHtml() function tell me that every expected element in the returned array to be a div element. Thx in advance for the precious help. What a tuff exam project // Click handler for search button const captureSearchValue = () => { const input = document.getElementById("search-bar").value; return input; }; // Filter books based on search input const filterBooks = (searchValue, books) => { const sanitizedSearchValue = searchVa ..read more
Visit website
Why is Settimeout not being called?
Codecademy Forums » JavaScript
by cloud7725409097
1M ago
Can anyone tell me why settimeout is not being called? console.log(‘test’) gets called but not console.log(‘Game lost’) if(posY === y && posX === x){ if(node.content === ‘o’ && node.content === ‘o’){ setTimeout(() => { console.log(‘Game lost’); }, 1000); console.log(‘test’); } node.content = '*'; } 4 posts - 2 participants Read full topic ..read more
Visit website
Need to see errors
Codecademy Forums » JavaScript
by script7807838348
1M ago
I’m currently working on the “WorkAround Explorer”-Project on the LEARN INTERMEDIATE JAVASCRIPT course. My app didn’t work because I had a typo in the path of an import. Why do I not get an error message when the imported file isn’t found? How can I see runtime errors in general? E.g. also typos in variable names. Also I would find it super helpful in learning how to debug my own code when needed. Does anyone have suggestions how and where to learn that? I’m a complete beginner when it comes to coding and started with the JS Beginner Course that worked well for me. In the intermediate course I ..read more
Visit website
Finding my path
Codecademy Forums » JavaScript
by objectace75326
1M ago
I started learning Js to create websites for now and learn how to do it with js html and css and now i started The JavaScript intermediate course and i want to know that is it about Frontend js or its just about Backend js ? if its Backend then i geuss i dont need to learn it for now so i can focus more on Frontend 1 post - 1 participant Read full topic ..read more
Visit website
Whale Talk project
Codecademy Forums » JavaScript
by finbad2024
1M ago
I am having trouble capturing the first “e” letter in my array. My if loops are not doubling the first “e” in my input. Can anyone tell me what I might be missing? Why isn’t my code doubling the first ‘e’ Here is my code: let input = "elephant day i am shuffling and hustling"; let vowels = ["a", "e", "i", "o", "u"]; let resultArray = []; for (let i = 0; i < input.length; i++) { //console.log([i]); if (input[i] === "e") { resultArray.push(input[i]); } if (input[i] === "u") { resultArray.push(input[i]); for (let j = 0; j < vowels.length; j++) { //console.log ..read more
Visit website
Meal Maker Project- Wrong output
Codecademy Forums » JavaScript
by 1michaelbrito
1M ago
Hello Every, I’m completing the Meal Maker Project. I can’t seem to understand why I continue to get “Meal or price was not set correctly!”. Can anyone help me understand what’s wrong with my code? I’m supposed to be getting Today’s Special is ${this._meal} for $${this._price}`. Thank you const menu = { _meal: ‘’, _price: 0, set meal(mealToCheck) { if (typeof mealToCheck === “string”) { return (this._meal = mealToCheck); } }, set price(priceToCheck) { if (typeof priceToCheck === “number”) { return (this._price = priceToCheck); } }, get todaysSpecial() { if (this._meal && this._price ..read more
Visit website

Follow Codecademy Forums » JavaScript on FeedSpot

Continue with Google
Continue with Apple
OR