Giter VIP home page Giter VIP logo

create-a-movie's Introduction

difficulty training chapter tags
1
true
Chapter 1: Vue.js Essentials
vue

Code a Create Movie Form

Challenge Description

In this challenge, let's give users the ability to add new movies in the Movie Rating App.

Requirements

  • Create an "Add Movie" button
  • Show a form for creating new movies when the button is clicked
  • Include the following fields on the form:
    • Name: text input & required
    • Description: textarea
    • Image: text input
    • Genre: dropdown & required & user can select multiple
    • Is in theaters: checkbox
  • Validate the form on submit
  • Once submitted and valid, add the movie to the list
  • Clear and hide the form after the movie is added
  • Add a cancel button to the form
    • Clicking the cancel button should clean up the form, and any error that it might have.
    • Clicking the cancel button should hide the form for the user.

๐Ÿ’ก HINT: You can make up any genres you like

๐Ÿ’ก HINT: You can visit imdb.com to find movie descriptions, images, etc for testing your form

Other Considerations

  • If you see the data-test attribute anywhere in the boilerplate don't remove it.
  • TailwindCSS is preinstalled with the default config. It might be helpful for you, if you want to have some styles. (Not obligatory)

Example of Finished App

This is an example of what the functionality should look like for the completed exercise. If youโ€™d like to mimic this style, feel free to do so, but it is not required.

Finished app in this challenge

create-a-movie's People

Watchers

 avatar

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.