--:--









Quiz for Deployment via GitHub Pages

Course: REACT | Subject: React | Topic: Deployment



Logo

Q1: What is the main purpose of GitHub Pages in React deployment?

Logo

Q2: Which branch is commonly used to deploy React apps on GitHub Pages?

Logo

Q3: Which npm package helps automate React deployment to GitHub Pages?

Logo

Q4: How do you specify the homepage URL for a React app deployed on GitHub Pages?

Logo

Q5: What command builds the React app for deployment?

Logo

Q6: Which directory’s contents are pushed to the gh-pages branch?

Logo

Q7: Why must React Router be configured carefully when deploying on GitHub Pages?

Logo

Q8: Which React Router type works best with GitHub Pages?

Logo

Q9: What is the GitHub Pages URL format for a user repository?

Logo

Q10: What must you do before deploying if your React app uses relative paths?

Logo

Q11: How do you deploy a React app to GitHub Pages using the gh-pages package?

Logo

Q12: Which script should be added to package.json for deploying React app?

Logo

Q13: What GitHub setting enables GitHub Pages hosting?

Logo

Q14: What happens if the homepage field is missing in package.json?

Logo

Q15: Which command can be used to create a new branch gh-pages?

Logo

Q16: Is GitHub Pages suitable for dynamic backend React apps?

Logo

Q17: How do you update the deployed site after code changes?

Logo

Q18: Which of these can break a React app on GitHub Pages?

Logo

Q19: What type of sites can GitHub Pages deploy?

Logo

Q20: How does GitHub Pages handle HTTPS?

Are you ready to start test? Set your time limit