const random = _ => _ => Math.trunc(Math.random()*100);
const getRand = random();
const bookmarks = dom.createMultipleElements(
`a${getRand()}`,
bookmarkList.map(x => x.name),
bookmarkList.filter(obj => Object.keys(obj) !== "name")
);
expected output : [a42, a65, a4, a75, a65, a31, a43]
current output : [a42, a42, a42, a42, a42, a42, a42]
17 June 2023
Darshanconst random = _ => _ => Math.trunc(Math.random()*100);
const getRand = random();
const bookmarks = dom.createMultipleElements(
`a${getRand()}`,
bookmarkList.map(x => x.name),
bookmarkList.filter(obj => Object.keys(obj) !== "name")
);
expected output : [a42, a65, a4, a75, a65, a31, a43]
cur
const random = () => Math.trunc(Math.random() * 100);
const getRand = random();
const bookmarks = dom.createMultipleElements(
a${getRand},
bookmarkList.map(x => x.name),
bookmarkList.filter(obj => Object.keys(obj) !== "name")
);
18 June 2023
After working on the project for a while,
i realised this is a wrong approach to do this.
Instead what I should do is create chainable methods like
createElem("ul", properties)
.createElem("li", liProperties)
.createElem("a", aProperties)
To create a ul>li>a structure
But I can't figure what design should I go for and more importantly"how" if I want to create
ul>li*5>a
(I've yet to implement any of this, this is just the conclusion I reached after several bugs and ugly code)
19 June 2023
Web Development Bootcamp
RexBhai Angela yu ke updated course complete web development ka link hai kya kisi ke passNahi h Bhai updated course.
20 June 2023
id 1590260403text not yet in the index
Ссылка
click to show
click to show
Sreesha Baraar, [20-06-2023 22:43]
https://www.udemy.com/course/deep-dive-the-openstack-cloud/
can u get me this course please
21 June 2023