Skip to content

Commit

Permalink
Update create-a-multiple-container-fragment.md: INDENT FIX (#1094)
Browse files Browse the repository at this point in the history
fixed unexpected lack of indent in function black_cats() and orange_cats() (`st.markdown("🐾 🐾 🐾 🐾")`)
  • Loading branch information
lkdhy authored Jun 18, 2024
1 parent 123bc4c commit 46b66da
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ with st.sidebar:
def black_cats():
time.sleep(1)
st.title("🐈‍⬛ 🐈‍⬛")
st.markdown("🐾 🐾 🐾 🐾")
st.markdown("🐾 🐾 🐾 🐾")
```

This function represents "herding two cats" and uses `time.sleep()` to simulate a slower process. You will use this to draw two cats in one of your grid cards later on.
Expand All @@ -153,7 +153,7 @@ with st.sidebar:
def orange_cats():
time.sleep(1)
st.title("🐈 🐈")
st.markdown("🐾 🐾 🐾 🐾")
st.markdown("🐾 🐾 🐾 🐾")
```

1. (Optional) Test out your functions by calling each one within a grid card.
Expand Down

0 comments on commit 46b66da

Please sign in to comment.