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
| Name of app - HospitAlert | |
| link to live static version - https://engineer-rotation-31830.netlify.com/home | |
| link to repo on GitHub - https://github.com/Ljyockey/hospitalert-client |
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
| The app won't work this month the way is supposed to without the ability to add friends. | |
| I added a component for a friends page which features sections to view friends, add friends, and search for friends. | |
| The data will be added to the Friends component once the API is setup. |
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
| When a friend is added on the status is changed, the li shows up without the name. Upon refresh, the name appears. | |
| Issue ended up being an issue with the data being added to the state (resolved). | |
| font size in <p> elements too small (resolved) | |
| font-color in form placeholder is the same as the user's input (resolved) |
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
| //Even or odd | |
| function isEven(value){ | |
| if (value % 2 == 0){ | |
| return true; | |
| } | |
| else | |
| return false; | |
| } | |
| //My answer: this function only takes a single input | |
| //The runtime is O(1) (constant time) |
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
| L.J. Yockey | |
| Full-Stack JavaScript Developer | |
| Hi, I'm L.J. | |
| I’m currently in the process of breaking out of Las Vegas and relocating to Los Angeles. | |
| My escape route? Mostly JavaScript, with a little bit of MongoDB and SQL, 'cause I love me a full stack. | |
| What was I doing in Las Vegas? The same thing that everyone does in Las Vegas: | |
| I was looking for a fresh start and hoping to hit a jackpot. My jackpot happened to come in the form of learning Web Development. | |
| One nonchalant suggestion from a coworker opened the door to lifelong learning and endless possibilities. |
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
| https://github.com/Ljyockey/portfolio | |
| http://ljyockey.com/ |
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
| Get rid of GIFs and make it so that text truncates at line break or X characters | |
| -Did a height w/ overflow control. Removed GIFs | |
| vertically align image in bio and stop text at ~”in the form of” | |
| -Vertical align of image not needed now that text has been shortened | |
| Make links to repos and live site same size | |
| -removed link borders |
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
| //I typically use promise chains to handle | |
| //sync control but today I'm playing around with generators. | |
| //View on Repl: https://repl.it/KWdA/1 | |
| function *myGen() { | |
| var one = yield 1; | |
| var two = yield 2; | |
| var three = yield 3; | |
| console.log(one, two, three); | |
| } |
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
| def true_or_false(bool): | |
| if bool == True: | |
| return "This is a true statement!" | |
| else: | |
| return "This is a false statement!" | |
| print true_or_false(False) # returns the else block |
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
| # prints 0-9 | |
| for x in range(10): | |
| print x | |
| # prints 1-10 | |
| for x in range(1, 11): | |
| print x | |
| # remember, we don't need to declare variables | |
| # we can just assign them |