Lab 07

Part 1: Fake News

Your goal for this section is to tinker around on the New York Times website and change a few things to make it your own.

  1. What is the link to their website where the New York Times is listing their open positions?
  2. https://boards.greenhouse.io/thenewyorktimes

  3. What font does the New York Times use for their headings?
  4. Change three of their headlines to three things that happened to you today.
  5. Finally, take a screenshot of your browser and put it in your code submission. It should look something like this (with your own headlines, the logo should still say "The New York Times").
  6. Changed NYT Screenshot Original NYT Screenshot

Part 2: Magic Number

  1. In your "Inspect" panel within your browser, click into the "Console" tab and into the field where you can enter code.
  2. Define a variable called x and assign it any integer value you want. Enter this line of code into the console and press enter.
  3. Let's multiply this number by 3. Assign this to a new variable called y. Type this line of code into the console as well.
  4. Next, we will add 6 to y. Then, divide y by 3.
  5. Subtract the number x that you initially had from the variable y and assign it to the variable magicNum. Now print out this final magic number by using console.log().
  6. Define a new variable called magicWord and assign it the value of the string with your name concatenated with the magic number. Print out this string in the console as well.
  7. Finally, take a screenshot of your console with all your code and output displayed and upload it to your code submission.
Changed NYT Screenshot