├── .gitignore ├── README.md ├── project0 ├── advanced_search.html ├── geegle.png ├── image_search.html ├── index.html └── styles.css ├── project1 ├── encyclopedia │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── forms.py │ ├── migrations │ │ └── __init__.py │ ├── models.py │ ├── static │ │ └── encyclopedia │ │ │ └── styles.css │ ├── templates │ │ └── encyclopedia │ │ │ ├── article.html │ │ │ ├── edit.html │ │ │ ├── error.html │ │ │ ├── index.html │ │ │ ├── layout.html │ │ │ ├── new_page.html │ │ │ └── search.html │ ├── tests.py │ ├── urls.py │ ├── util.py │ └── views.py ├── entries │ ├── CSS.md │ ├── Django.md │ ├── Git.md │ ├── HTML.md │ └── Python.md ├── manage.py └── wiki │ ├── __init__.py │ ├── asgi.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── project2 ├── auctions │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── forms.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_auto_20200920_1520.py │ │ ├── 0003_favorites.py │ │ ├── 0004_auto_20200923_1101.py │ │ ├── 0005_bid_amount.py │ │ ├── 0006_auto_20200924_2155.py │ │ ├── 0007_auto_20200926_0002.py │ │ ├── 0008_comment.py │ │ ├── 0009_comment_body.py │ │ ├── 0010_bookmark.py │ │ ├── 0011_auto_20200926_1433.py │ │ ├── 0012_delete_bookmark.py │ │ ├── 0013_category_slug.py │ │ ├── 0014_auto_20200926_1835.py │ │ └── __init__.py │ ├── models.py │ ├── static │ │ └── auctions │ │ │ ├── css │ │ │ ├── materialize.css │ │ │ ├── materialize.min.css │ │ │ └── styles.css │ │ │ └── js │ │ │ ├── init.js │ │ │ ├── materialize.js │ │ │ └── materialize.min.js │ ├── templates │ │ └── auctions │ │ │ ├── auction_view.html │ │ │ ├── bookmarks.html │ │ │ ├── categories.html │ │ │ ├── category_listings.html │ │ │ ├── includes │ │ │ ├── footer.html │ │ │ └── header.html │ │ │ ├── index.html │ │ │ ├── layout.html │ │ │ ├── login.html │ │ │ ├── new_auction.html │ │ │ └── register.html │ ├── tests.py │ ├── urls.py │ └── views.py ├── commerce │ ├── __init__.py │ ├── asgi.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py └── manage.py ├── project3 ├── mail │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── migrations │ │ ├── 0001_initial.py │ │ └── __init__.py │ ├── models.py │ ├── static │ │ └── mail │ │ │ ├── inbox.js │ │ │ └── styles.css │ ├── templates │ │ └── mail │ │ │ ├── inbox.html │ │ │ ├── layout.html │ │ │ ├── login.html │ │ │ └── register.html │ ├── tests.py │ ├── urls.py │ └── views.py ├── manage.py └── project3 │ ├── __init__.py │ ├── asgi.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py └── project4 ├── manage.py ├── network ├── __init__.py ├── admin.py ├── apps.py ├── migrations │ ├── 0001_initial.py │ ├── 0002_post.py │ ├── 0003_alter_post_options.py │ ├── 0004_alter_post_options.py │ ├── 0005_user_followers.py │ ├── 0006_auto_20210920_2224.py │ └── __init__.py ├── models.py ├── static │ └── network │ │ ├── index-page.js │ │ └── styles.css ├── templates │ └── network │ │ ├── following.html │ │ ├── index.html │ │ ├── layout.html │ │ ├── login.html │ │ ├── register.html │ │ └── user_view.html ├── tests.py ├── urls.py └── views.py └── project4 ├── __init__.py ├── asgi.py ├── settings.py ├── urls.py └── wsgi.py /.gitignore: -------------------------------------------------------------------------------- 1 | **/venv 2 | **/.idea 3 | **/__pycache__ 4 | *.sqlite3 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CS50 Web Programming with Python and JavaScript 2 | Mine solutions for CS50's Web Programming with Python and JavaScript course. 3 | 4 | *Warning : before visiting this repo files, please read about [CS50's Academic Honesty rules](https://cs50.harvard.edu/college/2021/fall/syllabus/#academic-honesty)*. 5 | 6 | ## Includes: 7 | * Projects solutions 8 | 9 | ## Course info: 10 | * __Name:__ CS50's Web Programming with Python and JavaScript 11 | * __University:__ Harvard University 12 | * __WWW:__ https://cs50.harvard.edu/web/2020 13 | 14 | 15 | -------------------------------------------------------------------------------- /project0/advanced_search.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 |Search for:
28 | 72 |{{ auction.description }}
14 |{{ auction.description }}
17 |{{ auction.description }}
18 |added on: {{ post.addedOn }}
28 |{{ post.content }}
29 |
{{ comment.body }}
73 |