Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script src="./main.js"></script>
- <link rel="stylesheet" href="./main.css"/>
- </head>
- <body>
- <button onclick="getAllMovies();">Get Movies</button>
- <br/>
- <br/>
- <input type="text" placeholder="id" id="getID" />
- <button onclick="getMovieByID();">Get movie by id</button>
- <br/>
- <br/>
- <input type="text" placeholder="id" id="deleteID" />
- <button onclick="deleteMovieByID();">Delete movie by id</button>
- <br/>
- <br/>
- <input type="text" placeholder="title" id="title" />
- <input type="text" placeholder="Age Rating" id="ageRating" />
- <button onclick="createMovie();">Create movie</button>
- <br/>
- <pre id="output">
- </pre>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement