Skip to content
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

TerenceSiow submission #75

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

TerenceSiow submission #75

wants to merge 2 commits into from

Conversation

ricenzca
Copy link

Deliverable Submission

Please describe your comfort and completeness levels before submitting.

Comfort Level (1-5): 4

Completeness Level (1-5): 5

What did you think of this deliverable?:
Challenging. Scalability from using function calls can be appreciated

//Prompts:
function searchTermPrompt () {
var searchTerm = prompt("Hi there! What are you looking for? Enter:\nb = search by Brand\ns = search by Seller\na = search by Availability\nc = search by Country\nmaxp = search by max price\nminp = search by min price\nmaxminp = search by max & min price\nn = no of product items\nt = total price of inventory");
return searchTerm;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refactor searchTerm and other similar vars with .toLowerCase() to account for users who key in capital letters

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