[FINAL] – The Moron Test – Fail Icons and FailScene Function

Hello. Video 19 was great. I loved adding the init() function along with the fail scene. I feel like the project is complete with these additions. Whiling doing the walk through, I really didn’t face any problems except the the .fail-space class was called delay-space on my part. Also some CSS properties where missing on my end, such as z-index in certain parts. I believe the original file I downloaded was eventually altered by Mike’s one. I caught on to the changes and knew what was the problem though. I plan to add stuff onto the moron project. Overall, this project was GREAT!

Video Walkthrough – Video 19

Week #5: Objects

let post = {
    user_avatar: "wwe.jpg",
    user_name: "wwe",
    user_handle: "@wwe",
    content: {
        date: "May 14, 2020",
        text: "@wwerollins is a thrilled dad-to-be. He and @beckylynchwwe meet their little bundle of joy this December!"
        media: "beckylynch.jpg",
        links: {
            like: function(){},
            share: function(){}
            comment: function (){}
            save: function(){}



Problem Set


Week #4: Arrays

Some methods for arrays are pop()/push() and shift ()/unshift(). Push () adds at the end of the array. It gives you the number of the array and adds it. Pop () does the opposite, it removes the last element of the array. It tells you what you are returning back. Now shift () is to remove the first item of the array. Unshift () doing the opposite adds at the front of the array.

Pop ()
let names = ['Clo', 'Dj', 'Nate', 'Nathalie']
names.pop (); ['Clo', 'Dj', 'Nate']

Push ()
let names = ['Clo', 'Dj', 'Nate', 'Nathalie']
names.push (Orlando); ['Clo', 'Dj', 'Nate', 'Nathalie', 'Orlando']

Shift ()
let names = ['Clo', 'Dj', 'Nate', 'Nathalie']
names.shift (); ['Dj', 'Nate', 'Nathalie']

Unshift ()
let names = ['Clo', 'Dj', 'Nate', 'Nathalie']
names.unshift (Orlando); ['Orlando','Clo', 'Dj', 'Nate', 'Nathalie']



Problem Set


Week #3: Functions

The difference between declaring a function and calling a function is declaring a function is giving a name to a line of code. Then calling a function is reciting back the name and passing through a command. Has to be written with ().

function doSomething () {
         console.log ("Hello world");

doSomething ()



Problem Set


Week #2: Control Flow

You can use “falsey-ness” to see if a value is true or false. Type coercion is a way to get numbers in the same format.

Falsey Values
ex. for loop
for (let i=0; i < str. length; i+=2){
console.log (str. [i]);
ex. while loop
let count = 1
while (count < 6) {
console.log ("count is: " + count);
count ++; }



Problem Set


WEEK #1: Why Learn to Code? 08- Introduction to JavaScript, Problem Set, Blog Question

From the article under “common concerns and fears” a section that caught my eye was the paragraph that started “do I have to be good with math?” This was a big concern for me if math was going to be a part of coding but it doesn’t. I like math but my brain thought it would get complicated but the general add, subtract, divide and multiply with a little algebra is good with me XD. I also liked that you can learn coding at any age so I hope it’s something I can understand at some point. In the same article under “questions about learning” one question I have is what is language X and Y? Which one is easier to know? I also liked the little paragraph on motivation. “First action, then motivation” it is very true and starting off small can help get into the flow to do bigger works of coding.

Classwork & Problem Set


Problem Set Part 2