build the function that the question list will only display up to 2 questions. If there are more than 2 questions, a button for “More Answered Questions” will appear below the list.
to keep the page manageable, i set the maximum height of the questions list in QandA Css file. and add overflow-y: auto to make questions list become scrollable.
build the function that the question list will only display up to 2 questions. If there are more than 2 questions, a button for “More Answered Questions” will appear below the list.
to keep the page manageable, i set the maximum height of the questions list in QandA Css file. and add overflow-y: auto to make questions list become scrollable.