Welcome to WebDevGuru, a website dedicated to helping you improve your web development skills through a series of exercises and quizzes. This website is designed to provide an interactive and engaging learning experience for users who want to learn or improve their web development skills.
WebDevGuru offers the following features:
- A user-friendly interface that allows users to easily navigate the website and access the exercises and quizzes.
- A variety of exercises and quizzes covering different web development topics, including HTML, CSS, JavaScript, jQuery, Node.js, Express.js MongoDB, Python, Django, and SQL.
- Gamification elements, such as points and badges, to encourage users to complete more exercises and quizzes.
- Continuous updates and improvements based on user feedback and testing.
WebDevGuru was built using the following technologies:
- HTML5
- CSS3
- Materialize
- JavaScript
- Python
- Django
- Postgres
- Modifiying biult-in UserModel:
WebDevGuru keeps track of each user's score and level, and in order to achieve that, we added a new field to the built-in user model using AbstractUser.
# imported library
from django.contrib.auth.models import AbstractUser
class CustomUser(AbstractUser):
level = models.IntegerField(default=0)
- Random query from database:
For each exercise and quiz, WebDevGuru provides a randomly selected set of 5 questions, filtered by category.
# imported library
from django.db.models.functions import Random
exercise = Exercise.objects.filter(category_id=category_id).order_by(Random())[:5]
quiz = Quiz.objects.filter(category_id=category_id).order_by(Random())[:5]
WebDevGuru is licensed under the MIT License.