HTML5 URL and SearchParams Objects

  Рет қаралды 5,116

Steve Griffith - Prof3ssorSt3v3

Steve Griffith - Prof3ssorSt3v3

Күн бұрын

Stop treating those href and src values as if they were just strings. Think about them as Objects with properties and methods.
Forget wasting time with the String methods for splitting and parsing the values from the href and src values. Use a SearchParams Object.
Code from video: gist.github.com/prof3ssorSt3v...

Пікірлер: 17
@wiesawmazurak4007
@wiesawmazurak4007 2 жыл бұрын
I've promised myself to start investigate any case from your channel! Thank you.
@user-rz7bo9od5j
@user-rz7bo9od5j 3 ай бұрын
Ya ampun alangkah telatennya URL perusahaan kelas jetset dunia betul2 salut aku tak sangka bs sampek kerumahku Amin semoga berkah tuhan selalu menyertai URLjuga aku makasih
@rotrose7531
@rotrose7531 4 жыл бұрын
Thank you very much, your tutorials always brings somethings that is eye-opening and interesting to stir my curiosity. Great tutorials.
@mgcmsn
@mgcmsn 4 жыл бұрын
Great explanation, as usual, thank you for what you doing!
@barungh
@barungh 4 жыл бұрын
Yesterday didn't get any video , today I was expecting another 35+ Min video ... They are like perl ... Expect to see more such videos till pandemic gets over ☺️
@RobertWildling
@RobertWildling 4 жыл бұрын
This is soooo useful! Thank you! I keep that in my toolbox from now on!
@pankaj22518
@pankaj22518 4 жыл бұрын
Great piece of information you give through your videos. It surely increases our knowledge. Thank you😊😊
@dmalvi2002
@dmalvi2002 Жыл бұрын
You're the man! You're really helping lots of people with the knowledge you have that isn't even provided in paid courses! One question: What is your vs code font, it's cool 😶
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
Jet brains mono is the font.
@iwswordpress
@iwswordpress 4 жыл бұрын
Very userful...thanks.
@user-rz7bo9od5j
@user-rz7bo9od5j 3 ай бұрын
Masakloh,,URL aku barutau kini oleh youtube mksh walau gak secepat itu ku mengrti produk URL dptdinikmati dsri kelas baeah masarakat asal ada uang .mksh
@zimani7g473
@zimani7g473 4 жыл бұрын
Unique 🔥
@chrsbll
@chrsbll 4 жыл бұрын
Great video. One thing worth noting, though, is that a "#" that appears as part of a URL is called a Fragment Identifier, not a hashtag. Hashtags are a proprietary (albeit widely used) way of categorising content using the hash/pound symbol.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 жыл бұрын
True enough. But it is the name that people recognize. The symbol is actually called the octothorpe character. In class I use all the terms - hash, pound, octothorpe, and fragment identifier - interchangeably.
@tamas-pamas
@tamas-pamas 4 жыл бұрын
Can you please make an example / use case for the hash value in the url? Thanks
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 жыл бұрын
hash values automatically get matched to ids in the HTML. Browsers have used them for this since the 90s. Another common use case is in Single Page Applications where they get used like a state value in conjunction with the History API to control site navigation with pushState and replaceState.
JavaScript Unicode Characters and Escape Sequences
10:22
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 13 М.
Fetch, CORS, and Cookies
37:44
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 21 М.
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 36 МЛН
Gym belt !! 😂😂  @kauermotta
00:10
Tibo InShape
Рет қаралды 18 МЛН
JS Code Structure Moving Beyond Beginner
21:31
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 13 М.
Everything You Need to Know About Form Events
14:11
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 4,8 М.
Revealing the Differences between HTML Dialogs and the Popover API
24:14
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 8 М.
Console is More Than Just log
11:16
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 4,7 М.
Register and Login Full Lifecycle with NodeJS
27:11
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 10 М.
Fetch Headers and Why They Matter
15:58
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 8 М.
The Hidden World of requestAnimationFrame
9:22
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 31 М.
How JWT Works - Client and Server
36:56
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 12 М.
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 36 МЛН