mardi 24 janvier 2017

Automatically link to course page and post the evaluation

This is my short version of HTML codes with some CSS codes

<div id="memo" >
 <h1 id="write"> Write it here!</h1>
 <p style="text-align: center;">***Please follow the instructions.***</p>
 <form name="text" action="" method="post" >
   <select name="course-list" style="font-family: Copperplate Gothic Light, sans-serif;width: 200px;height: 50px; padding: 10px;margin-left: 43%;font-size: 20px;">
    <option>course</option>
    <option>MAT123</option>
    <option>AMS151</option>
  </select>
  <div>
   <label >Semester</label>
   <input type="text" name="semester" placeholder="Spring/Fall YYYY">
  </div>
  <div>
   <label >Instructor's name</label>
   <input type="text" name="prof-name" placeholder="Please write his/her full name"> 
  </div>
  <div>
   <label >How was the course?</label>
   <textarea  type="text" name="course-evaluation" placeholder="Write everything you felt about the course"></textarea>
  </div>
  <div>
   <label >How was your professor?</label>
   <textarea type="text" name="prof-evaluation" placeholder="Write everything you felt about your professor"></textarea> 
  </div> 
   <input type="submit" value="Submit">
  </form>  
</div>

This code shows this screen

What I want to do is, for example, if I select MAT123 and fill out all the blanks, then MAT123.jsp automatically opens with the evaluation post that I wrote right before.




Aucun commentaire:

Enregistrer un commentaire