This project was more challenging than the others, I have to admit at the beginning I really didn't know how to do the logic to generate a random password with criteria given my the user. I used what we have learned in class to store the data and loop to generate the final password. I also had to do validations before generating it to make sure the project didn't crash or show wrong data. This challenge was fun!
If your README is long, add a table of contents to make it easy for users to find what they need.
To run the project in your local machine:
- Open visual studio in your computer or laptop
- Clone the git project: https://github.com/lilianpatinoortiz/Secret-Salad-Generator
- Pull the latest from the 'main' branch
- Locate the index.html file
- Right click on the file and select "Open in default browser"
- A new window on your default browser should open with the web page containing the project
Access the deployed project here: https://lilianpatinoortiz.github.io/Secret-Salad-Generator/
After running the project you will be able to access the site. In this site you will be able to generate your salad (random password). The site will prompt some alerts to get your input on some of the decisions like size, and characters to be included. Below I show how the site looks at the begining, how the alerts are prompted and an example of a password generated:
The site also loads dynamic css as required in the acceptance criteria, below I show the other two different styles that can load randomly:
Enjoy generating your salad! 🥗
The main resources used:
- Bootcamp canvas - Module 03
- How to load dynamic css: https://css-tricks.com/forums/topic/load-random-css-on-page-load/#post-247699
- Background Images from: https://www.pexels.com/
Please refer to the LICENSE in the repo.