And Amazon: 2986 lines (longest: 86752 chars), 772K. Also pulls time of access and user agent into the HTML. Also includes an ASCII duck that says "meow" above what looks like an origin/request identifier. At least that one contains actual HTML in between the JS and CSS blobs. pic.twitter.com/EhzYO2DLwZ
VS Code TIP!
I thought this was well known but it might not be.
If you are using VS Code you can press CTRL + Shift + L and highlight text. It will then find every copy of that word and highlight it as well.
You can now edit multiple lines at the same time
#100DaysOfCode #HTML pic.twitter.com/H11mogfaRp
Your suspicion is correct. Some parsers use regex. Not the most efficient but its OK. Try this next time: select a couple lines of HTML, then do a regex search & replace: Find: (<\s*\/?\s*)div(\s*([^>]*)?\s*>) Replace: $1section$2 I'll change <div>s into <section>s :)
Emmet can turn one line of code into many. It offers a major ROI if you spend time in HTML. Just type in the syntax and hit tab. And it comes pre-installed w/ VS Code.
Learn how I did this by reading more at the link below https://dev.to/vetswhocode/a-quick-reference-for-the-emmet-plugin-2hia …
Day 49: Nearly finished w/ the signup page I was working on for HTML form practice! I'm having a hard time wrangling flexbox on the desktop version's layout tho. Ideally the state/zip code lines would left-align.
#100DaysOfCode #CodeNewbie #DEVCommunitypic.twitter.com/gQlB5n4jsJ