Skip to content

Instantly share code, notes, and snippets.

@jobal22
jobal22 / JavaScript Strings
Created January 26, 2020 06:13
Thinkful Coding JavaScript Strings
Wiseperson JavaScript:
https://repl.it/@Jobal/Wiseperson-generator-drill
Shouter:
https://repl.it/@Jobal/shouter-drill
Text Normalizer
https://repl.it/@Jobal/text-normalizer-drill
@jobal22
jobal22 / JavaScript Numbers
Created January 26, 2020 20:52
JavaScript Numbers
Rectangle Drill:
https://repl.it/@Jobal/area-of-a-rectangle-drill
Temp Conv:
https://repl.it/@Jobal/temperature-conversion-drill
Is Divisble:
https://repl.it/@Jobal/Is-divisible-drill
@jobal22
jobal22 / Application Logic
Created January 26, 2020 22:04
Application Logic
Traffic Lights:
https://repl.it/@Jobal/Traffic-lights-drill
Error Alert:
https://repl.it/@Jobal/Error-alert-drill
@jobal22
jobal22 / Array Drils
Created January 28, 2020 15:58
Working with Arrays
ARRAY BASIC DRILLS
Creating Arrays:
https://repl.it/@Jobal/Creating-arrays-drill
Adding Array Items:
https://repl.it/@Jobal/Adding-array-items-drills
Accessing Array Items:
https://repl.it/@Jobal/Accessing-array-items-drill
Array Length and Access
https://repl.it/@Jobal/Array-length-and-access-drill
@jobal22
jobal22 / Loops and Arrays Drills
Created January 28, 2020 18:13
Loops and Arrays Drills
Max and Min:
https://repl.it/@Jobal/min-and-max-without-sort-drill
Computer the Average:
https://repl.it/@Jobal/average-drill
FizzBuzz:
https://repl.it/@Jobal/fizzbuzz-drill-js
@jobal22
jobal22 / Variable Scope JS-v1
Created January 28, 2020 19:59
Variable Scope JS-v1
What is scope? Your explanation should include the idea of global vs. block scope.
Scope, specifically variable scope, is a set of rules that allows two different contributors
to create and manipulate a variables with the same name without the functions colliding.
Global and block scope provide two different ways of declaring variables. Global scope's declaration
of a variable allows the variable to be accessed everywhere within a code. However, block scope
declares a variable that is accessible only within the function that it is declared in. The variable
declared in block scope does not access or alter the variable that is declared in global scope; however
it does take precedence over the global variable.
Why are global variables avoided?
@jobal22
jobal22 / Object Basics js-v1
Created January 29, 2020 01:03
Object Basics js-v1
Object Creator:
https://repl.it/@Jobal/Object-creator-drill
Object Updater:
https://repl.it/@Jobal/Object-updater-drill
Self-Reference:
https://repl.it/@Jobal/Self-reference-drill
Deleting Keys:
https://repl.it/@Jobal/Deleting-keys-drill
@jobal22
jobal22 / Iterating through Objects
Last active January 30, 2020 04:38
Iterating through Objects
Make Student Reports:
The original repl.it pulled up an error message; the same message came up with in the lession on factory function.
So I made a repl.it using the soln page. Here is my file:
https://repl.it/@Jobal/Make-Shift-Student-Reports
Enroll in Summer School:
https://repl.it/@Jobal/Enroll-in-summer-school-drill
Find by ID:
https://repl.it/@Jobal/find-by-id-drill
Validate Object Keys:
https://repl.it/@Jobal/validate-object-keys-drill
@jobal22
jobal22 / Frontend First Steps
Created February 6, 2020 03:53
Frontend First Steps
1. What all does <meta> do beside what was briefly mentioned in the lesson?
2. Can <p> and <div> be used synonymous?
3. In this exercise, I used <p> for Twitter, but could I have used <link>? Which is better to use?
4. Would it be more helpful in reading this code if “Contact info” was a footer instead of in the body?
5. Why have both HTML and CSS instead of using only HTML? In other words, (out of curiosity) is it possible to create a nice looking page only using HTML?
@jobal22
jobal22 / JS Questions
Created February 7, 2020 05:08
JS Questions
My main question is "how is JavaScript applicable?"
I know that it must be because it is used (not to say that everything that is used is applicable).
At the very beginning of my education in this language, I struggle to understand how this will help me daily in coding;
however, I am excited and eager to learn.