I say about to make but it is just an attempt to better explain my one from 4.10pm UK time, yesterday.
I have shut down my laptop since yesterday and cannot work out how to replicate the progress I made. I was able to see and click on, an object and response dropdown but cannot work out how to now. See below for how it looks for me, I have tried clicking the blue arrow head, to no effect.
please show how you are using console.log, from the output in the console it does not look you are printing the right thing
Here is the added/edited JavaScript code for that step ```fetch(‘https://cdn.freecodecamp.org/curriculum/news-author-page/authors.json’)
.then((res) => res.json())```
otherwise I am not sure have done anything successfully with console.log(). Some progress before I am pretty sure, was done not conscious, of what I was doing. Maybe accidently is the word but I am not sure that is the right word choice hence a clunky phrase instead.
I do not see a console.log there, without console.log you will not see things printed to the console
Here is the added/edited JavaScript code for that step ```fetch(‘https://cdn.freecodecamp.org/curriculum/news-author-page/authors.json’)
.then((res) => res.json())```
otherwise I am not sure have done anything successfully with console.log(). Some progress before I am pretty sure, was done not conscious, of what I was doing. Maybe accidently is the word but I am not sure that is the right word choice hence a clunky phrase instead.
I remove the console.log command I thought it suggested in step and code check worked. Sorry it this commented method is not the best is only way they would let me.
Know I can reply to your latest message I decided to sent it again as a seperate message.
If you don’t show how you were using console.log I can’t help you
if you want to see something in the console you need to put it in the console.log, and if something is not working as expected, I need to see the exact code you were using
I see now you look at the developer tools then make the code change
Right time for what I was originally going to ask today. I see all this information but I do not understand it point me to what I need to understand and where to look.
thatis the content of the response object, what are you looking for? if you are looking for the data included in the response object you need to do use first .json() then you can log the data. Depending on the data maybe you also need to use body() first
you can review the lectures on how to get data from an API if you need a refresher
I do not know what to look for that is my question. I have clicked on the first body and the JSON and this is what I now have.
the body property is a bit higher on the screen, you can’t access it from the console, you need first to use .json() on the thing you are printing
please share your code with the console.log
Where are the API lecturer I do not think it was covered properly in the old syllabus I have been primarily working on. It is probably covered better in the new syllabus, if you point me to right place. I said in first comment in this thread you can point me to where developers tools are covered in the new syllabus.
can you please share your code? if you want help with a piece of code, please share it
DevTools are not covered, but API are covered in the Asynchronous JavaScript module, which is at the end of the JavaScript chapter
I think we are referring to the same thing. When I say developer tools, I mean anything you need to know how to do or understand in developers tools, as part of the course.
Be aware I will be soon having dinner and likely leaving this till Monday, so if I suddenly stop replying that is why. However a reply to my last post, will probably conclude thing s at least for now. I will look at the suggested section on Monday and hopefully solve my knowledge, purpose and understanding issues.
I have decide to say goodbye for now.
working with API and using the DevTools are two different things
the forum is for async communication, if it happens that responses are quick it is a coincidence and not the norm, you don’t need to justify not reponsind immediately
Thankyou for your point around time between replies. On your other point, I will see when I look at the course materials how broad its helpfulness is. If it turns out that I need further help with developer tools I will have to look for it. I will however say, maybe you need to have something to point people to whether made by you or not, for people like me that are struggling with developer tools, particularly since it is likely new to most doing the course. Maybe be mistaken with the most.


