Hey guys, currently working on the Build a tribute page. (https://codepen.io/ltcMatt/pen/wewvwO) I want to align the two portrait pictures in such a way that the two of them are under each other, and on the right of them the text is displayed. I tried doing that with bootstrap. Can you guys please help me out how to do this? Thanks.
@alpox but I thought the problem with using a for loop with async, is that the for loop won't wait for the result and will finish executing before it gets all the results, for example it will execute the code after the for loop which displays the results on the page without having the full results
@alpox man! finally i got it thanks alot smile:
hackplacea sends brownie points to @alpox :sparkles: :thumbsup: :sparkles:
@h1tag Why shouldn't it have the full results? You add the contents to the page inside of the callback - when you know that you have the data.
@h1tag The usual problem with it is just that inside of the callback, if you try to access variables you defined inside of the for loop but outside of the callback, these variables will have the state of the last iteration of the for loop instead of the value they had when the callback was called. And this issue you can circumvent with using let
@alpox Got it ;)
how do you make dashboard pages? is it full of ajax requests? or is it just static and you have templates like the fixed navbar or side bar
@alpox Same here. Thank You.
rfvergeldedios sends brownie points to @alpox :sparkles: :thumbsup: :sparkles: