Skip to content

Conversation

Hunterdii
Copy link
Contributor

Pull Request Template

Thank you for contributing to the JavaScript Interview Preparation Guide! Please ensure the following before submitting your pull request:

📋 What did you do?

  • Added a new detailed solution under the JavaScript category:
    "What is the difference between innerHTML and innerText?"
    The explanation includes:
    • Definitions and key features of both innerHTML and innerText.
    • A comparison table highlighting their differences.
    • Practical use cases for when to use each.
    • Security considerations.
    • Examples to make the explanation clear and beginner-friendly.

🔧 How to test your changes?

  • Steps to test the new addition:
    1. Navigate to the relevant section of the JavaScript Interview Preparation Guide.
    2. Verify that the question "What is the difference between innerHTML and innerText?" is listed.
    3. Check that the explanation is clear, formatted correctly, and free from typos or grammatical errors.
    4. Ensure all provided examples are accurate and run correctly in a JavaScript environment.

✅ What are the expected results?

  • The new question and its explanation appear under the appropriate category in the guide.
  • Readers can easily understand the difference between innerHTML and innerText with clear examples and practical insights.
  • The content adheres to the formatting and clarity standards of the guide.

📝 Checklist

  • I have read the CONTRIBUTING.md guidelines.
  • My changes are relevant to the issue I am addressing.
  • I have added my question to the correct category (Easy, Medium, Hard).
  • I have provided a clear and beginner-friendly explanation for the added question.
  • I have tested the content for formatting and clarity.
  • I have ensured there are no typos or grammatical errors.

💬 Additional Notes (Optional)

  • None at the moment.

Thanks again for contributing and helping freshers prepare better for JavaScript interviews! 🎯🚀

@Varunyadavgithub Varunyadavgithub merged commit df7dd22 into Varunyadavgithub:main Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants