И соответственно использовать фреймворки тоже не вижу смысла
<div class="box">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="300">
<circle fill="none" stroke="#000" stroke-width="3" cx="150" cy="150" r="100" />
<circle cx="150" cy="150" r="10" stroke="red"></circle>
<g class="orbit">
<circle cx="80" cy="80" r="20"></circle>
</g>
</svg>
</div>
.box {
height: 300px;
width: 300px;
background: #eee;
}
svg .orbit {
animation: spin-right 10s 30 linear;
transform-origin: 150px 150px 0;
}
@keyframes spin-right {
100% {
transform: rotate(360deg);
}
}
function ololo(obj, count = 1) {
let values = Object.values(obj)
if (count === 1)
return values
else
return new Array(count).fill(values)
}
https://jsfiddle.net/hbeb6h02/ <div id="container"></div>
let select = document.createElement('select');
for (let i = 1920; i <= 2010; i++) {
let option = document.createElement('option');
option.value = i;
option.innerText = i;
select.appendChild(option);
}
document.getElementById('container').appendChild(select);