let contentTabs = document.querySelectorAll(".type");
let count;
for (count = 0; count < contentTabs.length; count++) {
// Ничего делать не требуется
}
alert(count);
<Routes>
<Route path="/" element={<Dashboard />}>
<Route
path="messages"
element={<DashboardMessages />}
/>
<Route path="tasks" element={<DashboardTasks />} />
</Route>
<Route path="about" element={<AboutPage />} />
</Routes>
<Routes>
<Route path="/settings" element={<...здесь лейаут с шапкой />}>
/// а дальше вложенные роуты
<Route path='/create' element={<CreateFieldProvider />}/>
<Route path={'/lists'} element={<FieldsList />} />
</Route>
</Routes>
const main = createTableWithContent(val.join('-'), "one");
const two = createTableWithContent(randInt(), "two");
main.append(two);
// Просто добавить...
const three = createTableWithContent(randInt(), "three");
main.append(three);
<input class="price" oninput="calc()">
<input class="quantity" oninput="calc()">
<div id="result"></div>
function calc(){
const priceInput = document.querySelector('.price');
const quantityInput = document.querySelector('.quantity');
const cost = priceInput.value * quantityInput.value;
document.getElementById('result').innerHTML = cost;
}