Git Product home page Git Product logo

front-end-1-week-5-deethedev's Introduction

Front End 1 Week 6 Assignment Directions

Now you know how to create webpages using HTML, CSS and JavaScript. You also know how to use links between pages, Bootstrap and fetching data.

In this Assignment we are going to create an Student Enrollment program, The program Allows the new and currents students Enroll to Different courses but no more than 4 courses per student and no more than 3 students per course also the student's status must be active to Enroll in a new course.

Yes as you read before NEW AND CURRENT students. Wich means the program allows the user to register a new student in the database (if the student is not registered)in order to enroll them in a course. You will get current students data fetching the link below.

All right ... so the question is how the program works? The Index.html file has 3 buttons: Students, Courses and New_Estudent

If the user clicks "Students": the program display the list of all students with their information

  • name
  • last last
  • green circle if the student's status is active. Nothing if is not active
  • enrolled curses
  • 'edit' button (allow to change student information)
  • 'add course' button (add another curse)

This is an Example

If the user clicks "Courses": the program display the list of courses with their information

  • name
  • duration
  • students (the students enrolled in that course)
  • 'add student' button (enroll a current student to that course)

This is an Example

If the user clicks "New Student": the program allows the user to register a new student by posting an object to the following POST endpoint - https://student-challenge-api.herokuapp.com/students that contains a "name" and a "last_name" attribute. If it successful you will receive back a success messaage and the new student in the response along with their id. note: it will not show up in the array of students when you do a GET request (it is not hooked up to a database) this is just to simulate posting data to a database:

GET endpoints

Students data link: https://code-the-dream-school.github.io/JSONStudentsApp.github.io/Students.json The response is a json Array of students objects with the following properties: name, last_name, status and id. The status property means if the student is active or not to take courses.

Courses data link: https://code-the-dream-school.github.io/JSONStudentsApp.github.io/Courses.json The response is a json Array of courses objects with the following properties: name, duration, and id.

front-end-1-week-5-deethedev's People

Contributors

avspeed avatar deethedev avatar hifilorau avatar mariandreamv avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

andresochoa91

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.