From ef260296132b9d21b6530875f00fdeba06ecdc48 Mon Sep 17 00:00:00 2001 From: Adrian Date: Thu, 21 Jun 2018 19:42:29 -0400 Subject: [PATCH 1/3] Lol --- lab-01/index.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lab-01/index.html diff --git a/lab-01/index.html b/lab-01/index.html new file mode 100644 index 0000000..96e2441 --- /dev/null +++ b/lab-01/index.html @@ -0,0 +1,20 @@ + + + + + + Code Partners + + + + + +

You are Awesome!

+
+

What is your legendary pet's name?

+

What is your favorite food?

+

What is wrong in the whole world?

+

Where do you usually hang out?

+
+ + \ No newline at end of file From 09a95e24fe1c88c9b35bd9ff2791f54a537cde34 Mon Sep 17 00:00:00 2001 From: Adrian Date: Sat, 23 Jun 2018 10:12:50 -0400 Subject: [PATCH 2/3] extendedhw --- lab-01/main.css | 0 lab-01/main.js | 8 ++++++++ 2 files changed, 8 insertions(+) create mode 100644 lab-01/main.css create mode 100644 lab-01/main.js diff --git a/lab-01/main.css b/lab-01/main.css new file mode 100644 index 0000000..e69de29 diff --git a/lab-01/main.js b/lab-01/main.js new file mode 100644 index 0000000..7d571cb --- /dev/null +++ b/lab-01/main.js @@ -0,0 +1,8 @@ +let name = prompt("What's your name?"); +let origin = prompt('Where are you from?') +let coder = prompt('Are you a coder?') + +console.log(name) +console.log(origin) +console.log(coder) + From ebf13d4148458fa74542960390469e4d905dc18a Mon Sep 17 00:00:00 2001 From: Adrian Date: Thu, 28 Jun 2018 18:27:30 -0400 Subject: [PATCH 3/3] Extended About me --- lab-01/index.html | 39 ++++++++++++++++++++++++++++++--------- lab-01/main.css | 17 +++++++++++++++++ lab-01/main.js | 44 +++++++++++++++++++++++++++++++++++++++----- 3 files changed, 86 insertions(+), 14 deletions(-) diff --git a/lab-01/index.html b/lab-01/index.html index 96e2441..3e5f5c3 100644 --- a/lab-01/index.html +++ b/lab-01/index.html @@ -3,18 +3,39 @@ - Code Partners + About Me - + -

You are Awesome!

-
-

What is your legendary pet's name?

-

What is your favorite food?

-

What is wrong in the whole world?

-

Where do you usually hang out?

-
+

About Me

+ +
    +
  • Name: name

  • +
  • Do you like movies?: movies

  • Are you a coder?: coder

  • +
  • Favorite Number: faveNum

  • +
  • Do you play sports?: sports

  • +
  • Are you born in the United States?: born

  • +
  • What do you want to do? As a prospective job seeker, I want to consider adopting additional features that I have seen in the 'About Me' projects made by other, so that my 'About Me' can become more thorough and interesting than my original conception.

  • + +

    Top Ten Movies

    + +
      +
    1. John Wick 1 and 2

    2. +
    3. The Raid Redemption

    4. +
    5. Logan

    6. +
    7. Thor: Ragnarok

    8. +
    9. The Raid Berandal

    10. +
    11. Django Unchained

    12. +
    13. 27 Days later

    14. +
    15. A Quiet Place

    16. +
    17. Shawshank Redemption

    18. +
    19. The Fast and The Furious saga

    20. + +
    + +
+ \ No newline at end of file diff --git a/lab-01/main.css b/lab-01/main.css index e69de29..6d7a590 100644 --- a/lab-01/main.css +++ b/lab-01/main.css @@ -0,0 +1,17 @@ +body { + margin: 0 auto; + background-color: darkgray; +} + +h1 { + font-family: Verdana, Geneva, Tahoma, sans-serif; +} + +h2 { + font-family: Verdana, Geneva, Tahoma, sans-serif; +} + +li { + font-family: Verdana, Geneva, Tahoma, sans-serif; + margin: 0 auto; +} \ No newline at end of file diff --git a/lab-01/main.js b/lab-01/main.js index 7d571cb..a269ea9 100644 --- a/lab-01/main.js +++ b/lab-01/main.js @@ -1,8 +1,42 @@ +console.log(alert("Let's go")); + +//These are the prompts section (pop-ups) let name = prompt("What's your name?"); -let origin = prompt('Where are you from?') -let coder = prompt('Are you a coder?') +let movies = prompt('Do you like movies?'); +let coder = prompt('Are you a coder?'); +let faveNum = prompt('What is your favorite number?'); +let sports = prompt('Do you play sports?'); +let born = prompt('Are you born in the United States?'); + +//The "if" functions section +if(name){ + document.getElementById('name').innerText = name; +} + +if(movies){ + document.getElementById('movies').innerText = movies; +} + +if(coder){ + document.getElementById('coder').innerText = coder; +} + +if(faveNum){ + document.getElementById('faveNum').innerText = faveNum; +} + +if(sports){ + document.getElementById('sports').innerText = sports; +} + +if(born){ + document.getElementById('born').innerText = born; +} -console.log(name) -console.log(origin) -console.log(coder) +//This section is where I put my console.log(s) +console.log(name); +console.log(movies); +console.log(coder); +console.log(faveNum); +console.log(born);