Skip to content

Artem Furman - render issue  #2

@artemfm1

Description

@artemfm1

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

  1. https://dev.to/changoman/intro-to-the-fetch-api-rendering-data-with-vanilla-javascript-34ga
  2. https://www.javascripttutorial.net/javascript-fetch-api/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions