A email generator to make prospecting less typeout emails then check and more copy and paste then check.
Users should be able to:
- Input name and company domain name
- View mulitple email combinations for input on screen
- Repo URL: https://github.com/sadiejay/email-generator
- Live Site URL: https://sadiejay.github.io/email-generator/
- Built out basic HTML structure
- Added rough logic with vanilla js
- JS logic is becoming a little easier for me. However, I can see where some for loops could be useful.
- my first iteration I'm creating p tags in HTML for each output variation, when I would like to let js add different nodes within a div tag by intaking the 3 possible parameters then running through all of the outputs and displaying within the screen.
- but I want to get it to work first then I'll go back and clean it up.
- Second interation I used
createElement
which reduces the amount of hard coding needed!
- JS logic is becoming a little easier for me. However, I can see where some for loops could be useful.
- Next steps:
- Figure out the reload situation
- react? 👀
- Add some design elements
- Semantic HTML5 markup
- JS
-
createElement()
andappendChild
-
It's ok to iterate!!
- hard coding the p tags first then using js to dynamically render the inputs allowed me to continue progressing on the project as opposed to getting overwhelmed and giving up.
-
I think this could be a nice simple project for react or svelte as well.
- I would like a panel that shows the last 10 outputs
- That could use the
- A form that would allow bulk inputs.
- That sounds like the inputs would directly populate an array. Then for each through the array and map (maybe) the outputs and display them.
- I would like a panel that shows the last 10 outputs
-
I'd love to figure out how to validate the emails before leaving this page.
- I'm thinking it's some sort of API?
-
Needs some design attention
- Find that Email - My inspiration for this project
- Regexr - Regex testing
- JS .toLowerCase
- Temporarily Ignoring Files - Super handy for keeping files (looking at you README) untracked while making changes continuously using
git update-index --assume-unchanged <file>
andgit update-index --no-assume-unchanged <file>
to start tracking again. - Halloween Word Guess - Helpful to see how to handle inputs
- How To Remove Character From String In JavaScript - For the fLast output. Struggling to understand how to remove all but the first character with slice.
- How to replace/delete all BUT the first character in a string - I can't believe how simple this is and that I struggled for a while to figure it out.
- Document.createElement() MDN Docs - I know it's possible to create a node and then append which I think I could do with some logic.