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
What is scope? Your explanation should include the idea of global vs. block scope. | |
Scope in Javascript, refers to how a declared variable can be accessed throughout your code. A global variable has a 'global scope' that can be accessed wherever in the code because it's attached to the root of the file. A block variable with 'block scope' can only be accessed within its own block. For instance, a variable declared inside a function - which would be considered a block - can only be accessed inside that function block. | |
Why are global variables avoided? | |
Global variables can overwrite other variables throughout your code. When there are also multiple Javascript files that run in a web page, any global variables that have the same name can overwrite each other, causing functions and overall code to break down. Essentially, our code would not work properly. | |
Explain JavaScript's strict mode. | |
The strict mode in Javascript makes sure that your code is written as explicitly and as clean as possible. If you're |
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
function handleNewItemSubmit() { | |
// this function will be responsible for when users add a new shopping list item | |
// find input field and take the value from it | |
// add event listener; when the button 'submit' is clicked, the string in the input box will be stored as a value | |
// field input should clear once submit button is clicked | |
// call generateShoppingItemsString that will append and render to the DOM | |
console.log('`handleNewItemSubmit` ran'); | |
} | |
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
const STORE = [ | |
{ | |
question: "Blood sugar is also known as:", | |
answer: "Glucose", | |
choices: ["Frutose","Glucose","Cellulose"], | |
}, | |
{ | |
question: "Food with a high glycemic index means:", | |
answer: "it contains alot of glucose.", | |
choices: ["it contains alot of glucose.","there is a net amount of glucose.","there is a high amount of fat."], |
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
Headline: | |
"I’m a full-stack software engineer with a focus on education." | |
Bio: | |
"I’m a full-stack software engineer with a focus on education. In my past life, I was a digital media strategist and an international English teacher. From products to interactions, I live for creating joyful experiences and thrive in learning something new. You can say my continued passion for technology and learning led me here. | |
I see problems as opportunities to create and programming as my toolbox. You can often see me wondering out loud about developing better efficiencies on whatever project I am working on. If you are not planning on contacting me about my portfolio, I am also a certified wine taster so we can talk about that too. |
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
Clients and servers work together in the same way a teacher teaches a lesson to their students. Materials and resources are collected by a teacher to create a lesson plan. | |
The lesson includes details such as: | |
- The content of the lesson | |
- What materials will be used with the lesson | |
- Expectations of how the students can interact with the teacher and the lesson | |
- Information on where teachers can find specific materials | |
This lesson plan is similar to the server because it exposes the different resources and materials that a teacher needs to conduct their class specifically. Students also see their teacher as the "client" that introduces these materials and shows them the lesson context in more digestable ways. All of the information that students acquire heavily depend on how the teacher (client) recalls their well-prepared resources by referring to a lesson plan (server). |
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. Youtube API | |
A. subscriptions end point: https://www.googleapis.com/youtube/v3/subscriptions | |
i. Required Parameter: | |
a. "part": string | |
b. part names: contentDetails, id, snippet, subcriberSnippet | |
- indentifies properties that contain other child properties | |
- child properties will be included in response | |
ii. Optional Parameters: | |
a. "channelId": string |
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
Users will be able to submit their international travel destination and see a snapshot of essential information such as required visas, relevant weather information, and currency via DarkSky (weather) API and Sherpa (travel & visa) API. |
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
Comment #1 - User flow explained | |
Comment #2 - Wireframe |
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 spoke with several colleagues and they suggested the following to improve on my app: | |
1. Bigger font sizes for better readability | |
Simplify wording and increase the font sizes. | |
2. Getting errors between cities and countries | |
Create an array of countries that match the spelling for the restcountries API so it pulls the proper country right away instead of pulling multiple countries when it can't find the exact spelling. Use Google Places API for the cities and remove additional country information using the split method so it only uses the city name for the weather that also uses the country code from the rest countries API. Also added error messaging that tells user to check for misspellings. | |
3. A button to look up another destination | |
Added restart button on the second page. |
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
Full Stack Capstone Name: "Word Nerd" | |
Idea Statement: | |
EFL or ESL teachers often use games to teach students English in a fun environment. Fluency is very important but | |
is difficult to teach because so much repetition is involved. My idea is to create an app game where teachers can | |
add their own vocabulary or phrases and play the game with the students to teach/check fluency. They can repurpose the | |
the game by uploading different vocabulary and phrases of different lessons; which they can save in their accounts online. | |
This way they can streamline their teaching materials and their lesson planning time. | |
OlderNewer