#beginners
Read more stories on Hashnode
Articles with this tag
How would you implement getElementsByAttribute? HTML <!DOCTYPE html> <html> <head> <title>The DOM is cool</title> <script...
console.log('Test start'); setTimeout(() => console.log('0 sec timer'), 0); Promise.resolve('Resolved promise 1').then(res =>...
In this challenge you will build a function 'whereAmI' which renders a country only based on GPS coordinates. For that, you will use a second API to...
Creating generic function const getJSON = function (url, errorMsg = 'Something went wrong') { return fetch(url).then(response => { if...
First example of catching error const getCountryData = function (country) { // country 1 fetch(`https://restcountries.com/v2/name/${country}`) ...
const getCountryData = function (country) { // country 1 fetch(`https://restcountries.com/v2/name/${country}`) .then(response =>...