Closed dhruvpal05 closed 9 months ago
Name | Link |
---|---|
Latest commit | c9ea2435900d5aa1b88cc7693ce3d7d66e5a339a |
Latest deploy log | https://app.netlify.com/sites/frontend-database/deploys/65212bece4869f0008d46de8 |
Deploy Preview | https://deploy-preview-14--frontend-database.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Here is the report for the pull request:
index.html
file with the initial structure of the Quiz App.script.js
file with the logic for loading and displaying quiz questions.style.css
file with the styling for the Quiz App.script.js
file to improve code readability.script.js
file.No bugs found.
style.css
file, consider using more specific selectors to avoid potential conflicts with other stylesheets.script.js
file, consider using a more modular approach by separating the quiz logic into separate functions for better readability and maintainability.In the script.js
file, the loadQuiz
function can be refactored for better readability:
function loadQuiz() {
deselectAnswers();
const currentQuizData = quizData[currentQuiz];
questionEl.innerText = currentQuizData.question;
a_text.innerText = currentQuizData.a;
b_text.innerText = currentQuizData.b;
c_text.innerText = currentQuizData.c;
d_text.innerText = currentQuizData.d;
}
I would rate the code a 7 out of 10. The code is generally readable and well-structured. However, there are some areas where improvements can be made to enhance code readability and maintainability. Additionally, further optimizations can be done to improve performance and security.
That's all for the report! Let me know if you need any further assistance. π
@dhruvpal05 , I Merged this PR,
Please follow the Contribution Guideline present in : https://github.com/dev-AshishRanjan/Hacktoberfest-Frontend/blob/dev/CONTRIBUTING.md
To Do :
contribution/ProjectList.json
After doing this, create a new PR
Describe your change: This is a small QuizApp which includes question on html, css and javascript.
Checklist:
ATTACH SCREEN-SHOTS