name: Open-Streets-NYC
about: render data to the DOM
title: ''
labels: ''
assignees: ''
Describe the bug
I'm having an issue taking the value of my api and rendering it to the DOM. I can seem to set it to the right value when trying to create a new element. I'm tried the code a few different ways.
Error Message
script.js:25 TypeError: Cannot read property 'value' of null
//This happens when i try to run my render function
2 Links you found while researching the bug
- https://dev.to/changoman/intro-to-the-fetch-api-rendering-data-with-vanilla-javascript-34ga
- https://www.javascripttutorial.net/javascript-fetch-api/
name: Open-Streets-NYC
about: render data to the DOM
title: ''
labels: ''
assignees: ''
Describe the bug
I'm having an issue taking the value of my api and rendering it to the DOM. I can seem to set it to the right value when trying to create a new element. I'm tried the code a few different ways.
Error Message
script.js:25 TypeError: Cannot read property 'value' of null
//This happens when i try to run my render function
2 Links you found while researching the bug