How to inspect a object in developer tools

Firstly, inspect may be the wrong word if so, pay attention to what I am meaning and let me know the correct term. To be clear I know how to access developer tools, I can also for example, open the developer tools version of code (however it is best to explain this). However I cannot or cannot remember how to do the likes of expand a object to see what it contains, for an example see below. I have been naughty in the past, and avoided doing this, as it is not necessary to tick off the step however I decided, it is time to get help with this.

Learn Fetch and Promises by Building an fCC Authors Page: Step 3 | freeCodeCamp.org

I decided I have edited my initial post enough so I was better to make this a sort of PS reply.

Feel free to point to the part of new syllabus that covers this. I Have been primarily working on the old but I have done parts of new. I plan to switch over with next module.

what are you using to print the object to the dev tools console, and what do you see in the console?

I think I understand what you are saying but it does not help me. Nothing shows in the code box of my console tab, putting the likes of console.log(res) and res in the search bar, does nothing.

Is this what’s throwing you?

I am trying to gather information before helping you, so I ask you what is it that you have tried so far that is not working

I do think I am getting the same as you here are a couple of screenshots

I have clicked, where the code to inspect is, in the elements tab, see screenshot two. Try a few word in search see screen shot 1. Tried click on a range of icons on main body left (screenshot 1). I really oblivious so that has affected what I have done and not.

there is a little arrow right next to Response and Object, if you click on that arrow it will show the objects

I do not know where reponse and object are.

Found them————————————————-

they are in the screenshot you have shown

This reply presumably sent before you read my message from 3.55 appears to answer the question, I was about to ask which left hand side icon’s (cannot think of a better word) response and object. It is the messages one, right?

Potential final question. What is the purpose of looking this up in developers tools and/or what important information should I glean? Sorry I needed this step by step I am much more of natural with standard programming, than behind the scenes computer matters.

you send things to the console with console.log (and relatives) and you go the developers tools console to see the value of things

Sorry this does not answer my question, but as meaning I am willing to accept not getting an answer. However I will not tick solution in case you @fcc4b6d10c4-b540-4e2 or anyone else want to have another go at answering the question.

what kind of answer were you looking for?

sometimes when you code you need to understand what’s going on, so you add the console.log to see what value things are, and console.log add those values to the console

I will try to explain myself better another day. I could try now but feel it is better to wait and than I can put it better.

In the first screenshot I posted, you can see at the top of the screen that I’m in the curriculum at the step you linked, and my code is using console.log() to log the response of a fetch(). But in the fcc editor’s console, all I can see for that log are a pair of empty curly braces. I can’t see what’s in it.

To see what the response object contains, I need to open my browser’s dev tools, look for the Response object under “Console” tab, and click the small arrow that’s pointing to it.

When I do that, the object expands and I can see what’s in it, like the second screenshot I posted above.

I think the question you answering, I have already worked out with ILMs help. See a post I am about to make about what I need help with now relating to developers tools and that step.