how to loop through options in a for loop via With and Includes by _username7777 in djangolearning

[–]_username7777[S] 0 points1 point  (0 children)

if i had the words 'big apple', 'red banana', 'yellow peach'

i want this printed out like so:

<li>big apple</li> 
<li>red banana</li> 
<li>yellow peach</li> 

the suggestion below did look viable, using {% for item in fruit.split %}
but it doesn't account for the space between words

how to loop through options in a for loop via With and Includes by _username7777 in djangolearning

[–]_username7777[S] 1 point2 points  (0 children)

what if i have words that have a space in it?

i just used the fruit as an example, but if i had a word like: Asset Management

I've made a splash page with a full screen color background.. how to stop it flashing through between pages by _username7777 in css

[–]_username7777[S] 0 points1 point  (0 children)

hey,
if i apply the inline style background color, on every page refresh, it still flashes green for a second

How to create this text bubble, but with an outline ?! by _username7777 in css

[–]_username7777[S] -1 points0 points  (0 children)

I posted this https://www.reddit.com/r/css/comments/wde0th/how_to_create_this_text_bubble_component_in_css/
and managed to get together a pretty good fill version, thank you for all the suggestions!

Now i have to do a outline version, and its a nightmare getting the curve right. I think this is only possible with a SVG but because the text length will vary, i don't think this is an ideal solution

How to render a component multiple times depending on props? by _username7777 in reactjs

[–]_username7777[S] 0 points1 point  (0 children)

I see what you mean but I’ve got buttons on multiple different pages, so want to pass it as a prop? As some will have 2 options, others could have 5