Open Nikababy01 opened 4 years ago
As a user, I should be able to add an airport for both the departure and arrival cities.
WHEN looking at the Create New Flight Form
THEN I should see two areas listing cities
AND I should be able to select a city for the flight to depart from
AND I should be able to select a city to arrive in
AND once the info is submitted along with the form, it will display on the card
<form id="create-new-flight-form">
<div id="departure-city-options">
<div id="arrival-city-options">
these will be radio buttons created after looping through the smash file for city options
the .val will be captured and display alongside other flight info on the new flight card
.val
User Story
As a user, I should be able to add an airport for both the departure and arrival cities.
AC
WHEN looking at the Create New Flight Form
THEN I should see two areas listing cities
AND I should be able to select a city for the flight to depart from
AND I should be able to select a city to arrive in
AND once the info is submitted along with the form, it will display on the card
Dev Notes
<form id="create-new-flight-form">
there will be the following divs<div id="departure-city-options">
<div id="arrival-city-options">
these will be radio buttons created after looping through the smash file for city options
the
.val
will be captured and display alongside other flight info on the new flight card