function countOnline(obj) {
// change code below this line
let i=0;
for(let user in obj){
if(obj.user.online === true){
i++;
}
}
return i;
// change code above this line
}
obj.user.online
. i used : obj[user]["online"]
@Stevegolden12 https://codepen.io/mandeep4243/pen/pQYRzw
i m willing to bring that add note button in line with input box can u pls see to that
Thanks in advance
@mandeephub if you head over navbar
docs you see that they reccomend working with spacing
and flex
utilities to create a layout. That's because navbar
has a more "strict" markup due to its intended "limited" usage.
In the example you see they use a form-inline
element as a direct child of nav (not a container-fluid
).
My suggestion is, if you want to keep the container-fluid / row
system inside the navbar
is to use auto layout columns