- Create directory on Desktop & move into that directory
cd Desktop
mkdir new_project
cd new_project
- Install Composer
curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer
This file contains 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
Matthew Olsen | |
============ | |
### Full-Stack JavaScript Developer | |
**(949) 395-6133** | |
3142 Manoa Rd | |
Honolulu, HI 96822 | |
USA | |
@_devmatto_ | |
------------------- |
###Console History Sim Stack Trace Challenge
Using a linked list, we are going to demonstrate a use case for a linked list and simulate a stack like you see in a stack trace (similar to what you see in your console when an error occurs), that replays the history of what we typed.
- Add a text box to an HTML page and add 2 buttons,
save
anddump
. - Every time the user clicks the first button to save, we are going to save the text input to our linked list as the most recent node or head.
- Whenever someone clicks the dump button we are going to dump out all of the input they've typed in to that point from most recent to oldest. This should be written as HTML to the page.