title: How can you make a vote-up-down button like in Stackoverflow?
body: <p><strong>Problems</strong></p>
  
  <ol>
  <li>how to make an Ajax buttons (upward and downward arrows) such that the number can increase or decrease</li>
  <li>how to save the action af an user to an variable NumberOfVotesOfQuestionID</li>
  </ol>
  
  <p>I am not sure whether I should use database or not for the variable. However, I know that there is an easier way too to save the number of votes.</p>
  
  <p><strong>How can you solve those problems?</strong></p>
  
  <p>[edit]</p>
  
  <p>The server-side programming language is Python.</p>