Skip to content

malloryshea/web-sprint-challenge-applied-javascript

 
 

Repository files navigation

Applied JavaScript Sprint Challenge

Read these instructions carefully. Understand exactly what is expected before starting this Sprint Challenge.

This challenge allows you to practice the concepts and techniques learned over the past sprint and apply them in a concrete project. This sprint explored Applied JavaScript. During this sprint, you studied DOM and components. In your challenge this week, you will demonstrate your mastery of these skills by creating an online Lambda newspaper.

This is an individual assessment. All work must be your own. Your challenge score is a measure of your ability to work independently using the material covered through this sprint. You need to demonstrate proficiency in the concepts and objectives introduced and practiced in preceding days.

You are not allowed to collaborate during the sprint challenge.

Project Set Up

  • [ x] Fork and clone the repo. Delete your old fork from Github first if you are repeating this Unit.
  • [ x] Open the assignment in Canvas and click on the "Set up git" option.
  • [ x] Push your first commit: git commit --allow-empty -m "first commit" && git push.
  • [ x] Check to see that Codegrade has accepted your git submission.

Project Instructions

Introduction

You are going to create a Lambda Newspaper. Your job is going to be to create the components that make up the newspaper's home page.

In meeting the minimum viable product (MVP) specifications listed below, your project should look similar to the image linked below:

Lambda Times

Instructions

  • [x ] Navigate to the root of the project with your command line.
  • [ x] Run npm install to download the dependencies listed in the package.json file.
  • [ x] Run npm start to compile the project and serve it.
  • [ x] Navigate Chrome to http://localhost:3000
  • [ x] In a separate terminal, run npm test to run tests.

Steps Required for MVP:

  • [ x] Steps 1 and 2 are explained inside the src/components/header.js file.
  • [ x] Steps 3 and 4 are explained inside the src/components/tabs.js file.
  • [ x] Steps 5 and 6 are explained inside the src/components/card.js file.

Important Notes:

  • Please do not move or rename existing files or folders.
  • If your development server stops "auto reloading", manually kill it with CTRL+C and restart it.
  • Do not change the package.json file except to install libraries with NPM (Axios is already in the package.json).
  • In your solution, it is essential that you follow best practices and produce clean and professional results.
  • Schedule time to review, refine, and polish your work, including spell-checking and grammar-checking.
  • It is better to submit a challenge that meets MVP than one that attempts too much and does not.

Submission format

  • [x ] Submit via Codegrade by committing and pushing any new changes to the main branch.
  • [ x] Check Codegrade for automated feedback.
  • [ x] Check Codegrade in the days following the Sprint Challenge for reviewer feedback.
  • [ x] Any changes pushed after the deadline will not receive any feedback.

Interview Questions

Be prepared to demonstrate your understanding of this week's concepts by answering questions on the following topics. You might prepare by writing down your own answers before hand.

  1. What is the DOM? The DOM is the Document Object Model of a page. The DOM defines a standard for accessing documents. With the HTML DOM, JavaScript can access and change all the elements of an HTML document.

  2. What is an event? An event is an action or occurrence that happens in the system you are programming. The system produces a signal of some kind when an event occurs, it then provides a mechanism by which an action can be automatically taken when the event occurs.

  3. What is an event listener? An event listener allows us to add functionality to HTML elements by “listening” to different events that take place on the page, such as when the user clicks a button, presses a key, or when an element loads.

  4. Why would we convert a NodeList into an Array? You would convert a NodeList into an Array in order to have access to the functions that Javascript ES6 allows.

  5. What is a component? A component brings together HTML, CSS, or JavaScript for reuse in a website or application.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 75.0%
  • CSS 21.1%
  • HTML 3.9%