Beginners Coding Troubles

RMAG news

I think the coolest function that I’ve learned and not struggle too much with is the fetch request function. I felt like with everything I had to learn and digest this was it for me. Below is what I was able to use to get some data that we need to work with.
Fetch(“string representing a URL to a data source”)
.then(response => response.json()
.then(data => console.log(‘data’)
You can also do:
Fetch(“string representing a URL to a data source”)
.then(response => {
Console.log(response)
Return response.json()
.then(data => {
Console.log(data)

There’s a lot I had to learned these past four weeks about coding and there’s more to come. Although I had a lot of challenging moments where I was confused on what code to use or what certain verbiages mean, I was still able to understand a lot of information that wasn’t familiar with. Maybe I am over thinking it but I’m understanding it little by little, because this is all new to me. I’ve also realized that I need to practice and do more of coding samples, to increase the level of my understanding and get more familiar with coding. Going into this course I wasn’t sure what to expect but I do have an appreciation for those who are learning or who have already mastered this field.