Skip to content

Added trim on prompt and some code comments for beginners/students - #3

Open
abhiram11 wants to merge 2 commits into
bradtraversy:mainfrom
abhiram11:main
Open

Added trim on prompt and some code comments for beginners/students#3
abhiram11 wants to merge 2 commits into
bradtraversy:mainfrom
abhiram11:main

Conversation

@abhiram11

@abhiram11 abhiram11 commented Dec 8, 2022

Copy link
Copy Markdown

I added trim for the prompt, blank strings provided random logos as Brad said at end of his video.
I also added some comments for learners to remember important points that Brad mentioned and also some explanations that he probably skimmed.
I also added (optional, commented in index.html) size selector to give a clearer understanding of the size field.
P.S. I'm just beginning to Open Source.

Here's a snippet that's seen if the prompt is just empty spaces e.g., " ":

Why trim is reqd

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.

1 participant