50 Projects in 50 Days - HTML/CSS and JavaScript
This is the main repository for all of the projects in the course.
NOTE ON PULL REQUESTS: All of these projects are part of the course. While I do appreciate people trying to make some things prettier or adding new features, we are only accepting pull requests and looking at issues for bug fixes so that the code stays inline with the course
License
The MIT License
Copyright (c) 2020-2021 Traversy Media https://traversymedia.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Fix Unsplash's random server down with alternative - picsum
Reason:
Usage:
https://picsum.photos/<width>/<height>/?<randomChar>
?<randomChar>
, it return different images even in same dimensionBetterColor Project
Added BetterColor Project About BetterColor Project : A Simple Project For BetterColor Readability. You Can Easily Choice Best Color Readability For Any Background.
Remove deprecated execComand() function
Document.execCommand() has been deprecated and altthough some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes, my alternative uses instead the Clipboard API to copy the generated password to the clipboard
Replaced JS alert for Password copied to clipboard with CSS Toast
In Password Generator project it was using traditional JS alert which we have to close every time after clicking on copy password. Replaced it with CSS toast with auto transition for show and hide for better experience.
Attaching Screen Shot of Toast
Changing const listers to liters
Changed "listers" for "liters" . It works because its written the same when referencing it, but I think it would be better if changed for the actual word liters :)
Fix_URL Unsplash's random server is down. use Picsum as an alternative while waiting Unsplash update
Reason:
How to:
?<randomChar>
query, it return different images even in same dimensionfix: When clicking continuously and quickly, the click target will ch…
when clicking continuously and quickly, the click target will change from the picture to the heart icon, resulting in the wrong positioning of the heart icon behind
fix: correct css file name
forget to change css file name after updating dark mode css
<link rel="stylesheet" href="style.css" />
=><link rel="stylesheet" href="dark-style.css" />
Optimize request's speed + size with different endpoint
/pokemon-form/{id}
saves lots of size: 32.38MB -> 150KBname
,id
,types
,sprites
(img)fix: wrong click to heart icon when fast click
When clicking continuously and quickly, the click target will change from the picture to the heart icon, resulting in the wrong positioning of the heart icon behind
removed height property set for the body tag
After creating multiple todos ,the header
todos
is not displayed correctly due to viewport-percentage length set for the body. I thought it was better to remove the height property.