- Landing page.
- Should include the navbar and the footer.
- Menu Page that include categorized meals with name, price, description and image.
- Meet our chefs section that has a list of chefs.
- Utilize forms to a usage of your choice such as reservation/booking or feedback form.
- Contact details section including phone number, email, and address.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bicycle World | |
Welcome to Bicycle World, the premier text-based bicycle shop! This shop is only accessible to programmers like you, who are familiar with the command line. | |
In this project, I used the commands I learned to navigate and edit the filesystem. | |
The filesystem is shown below. Main directory is BicycleWorld. | |
BicycleWorld | |
|—— brands.txt | |
|—— freight/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let arr = []; | |
arr.maxLength = 3; | |
Array.prototype.pushLimited = function(elem) { | |
if (this.length === this.maxLength) { | |
throw new Error('max length exceeded'); | |
} else { | |
this.push(elem); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) So you said that the API should not use a database and at the same time it should allow you to register users. | |
The only possible way is storing users in the memory, but restarting the server will reset the integers. is that ok? | |
2) Do the numbers have to be exact sequential (one exactly after another)? | |
for example if current integer is "5", if the user call "next integer" endpoint, it will return you "7" or "10" any integer larger than current one. is that ok? | |
3) Can the integers be large like "1590081234" ? Actually I have the idea of using timestamps 😅. | |
4) Should the integers be unique accross users also ? I mean can 2 users or more, share the same integer? |
NewerOlder