Why does my querySelectorAll is not working even though I converted it to an array? : # querySelectorAll is not working

Hey guys I have been trying to inject some data from my JavaScript file to my index html with dom manipulation (querySelectorAll) but it is not working. Note that I have also tried converting nodelist into array for it to be displayed on html but to no avail, it still does not work. I've spent some time googling for a similar problem like this but I could not find any. 

**HTML code:**
```  <section class="section">
        <div class="container">
            <div style='margin: 40px 10px 40px'>
                <h1>Lifestyle.</h1>
                <p>The latest and best lifestyle articles selected<br/>
                    by our editorial office.
                </p>
            </div>
        </div>
        <div class="container">
            <div class='card-row'></div>
            <div class='card-row'></div>
            <div class='card-row'></div>
            <div class='card-row'></div>
            <div class='card-row'></div>
            <div class='card-row'></div>
        </div>
    </section>
```

**CSS code:** (this is for the cards layout)
``` 
.card-row {
    width: 300px;
    height: 270px;
    border-radius: 15px;
    background-color: tomato;
    color: #fff;
}
 ```

**JS Code:** 
``` 
    const card = document.querySelectorAll('.card-row')
    const newCard = Array.from(card)


const data = [
    {
        topic: 'Food',
        title: 'Wake Up and Smell the Coffee',
        price: '$0.90',
        color: green
    },
    {
        topic: 'Architecture',
        title: 'The Brand New NASA Office',
        price: '$0.19',
        color: black
    },
    {
        topic: 'Travel',
        title: 'Experience the Saharan Sands',
        price: '$2.29',
        color: brown
    },
    {
        topic: 'Interior',
        title: '9 Air-Cleaning Plants Your Home Needs',
        price: '$0.09',
        color: greenblue
    },
    {
        topic: 'Food',
        title: 'One Month Sugar Detox',
        price: '$0.99',
        color: pink
    },
    {
        topic: 'Photography',
        title: 'Shooting Minimal Instagram Photos',
        price: '$0.29',
        color: blue
    }
]
    data.forEach(info => {
      card.innerHTML += `
      <span>${info.topic}</span>
      <h3>${info.title}</h3>
      <p>${info.price}</p>
    `
})
 ```
Basically, I want my data variable to loop and inject the objects inside my cards. I have tried using only querySelector and of course it works for the first card but it is not something I want to achieve. I could also give each card an id and manually put each data's object but it is not efficient and I'm trying to avoid long code.

### I hope my explanation is clear enough. Thank you in advance!