Skip to content

Added 4 examples #97

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Added 4 examples #97

wants to merge 3 commits into from

Conversation

cjyuan
Copy link
Contributor

@cjyuan cjyuan commented Nov 17, 2024

  1. Added four examples to demonstrate

    • How to create array and get a random item from an array
    • How to add/remove item to/from an array
    • How to iterate through array items one by one (in order to display them as list items in an unordered list)
    • How to use if-else block
  2. Added links to related examples to three exercises.

Copy link

netlify bot commented Nov 17, 2024

Deploy Preview for cyf-blocks ready!

Name Link
🔨 Latest commit bba00bc
🔍 Latest deploy log https://app.netlify.com/sites/cyf-blocks/deploys/673a5ceabb061200081a272e
😎 Deploy Preview https://deploy-preview-97--cyf-blocks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@cjyuan
Copy link
Contributor Author

cjyuan commented Nov 17, 2024

Note: "tortieland" is an account I stopped using for a while. I didn't realize until now that the VSCode on my laptop is configured to use that account.

@cjyuan cjyuan requested a review from SallyMcGrath November 18, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants