Giter Club home page Giter Club logo

chrissmess's Introduction

Chrissmess

Day 3 Homework

  • In addition to building a list item and adding it to the DOM (as we are now), also store each movie in an array.

Bonus Credit

  • Add a delete button to each list item that removes it from the list.

Super Mega Bonus Credit.

  • Remove the flick from the array as well.

Super Mega Bonus Credit Hyper Fighting

  • Add a favorite button to each flick as well that lets you mark your favorites.
  • Display favorites differently.
  • Be sure the favorties are recorded appropriately in the array.

Day 2 Homework

  • Give the funtion changeHeading a more accurate name.
  • Add a second field to the form.
  • Display the value of that field in the list.

Bonus Credit

  • Display the second field in a separate HTML element than the flick name. For example:
<li>
    <span class="flickName">Jurassic World</span>
    <span class="year">2015</span>
</li>
  • See if you can then style it differently.

Super Mega Bonus Credit

  • Use more than one funciton (Break changeHeading into multiple functions).

Day 1 Homework

  • Make the button change the text of the heading (the <h1>).

Bonus Credit

Add multiple heading to the page, and make the button change the second one. (Use a class or and id).

Super Mega Bonus Credit

  • Add a form to the page.
  • Add a text input to the form.
  • When the form is sumitted, update the heading with the text that you type in the text input.

Super Mega Bonus Credit Hyper Fighting

  • Make sure it works when you press enter on the keyboard, not just when you click the button.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.