Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 6-Appendix: Leveraging Dev Tools - Encoding and Decoding(#1070) #1085

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions document/6-Appendix/F-Leveraging_Dev_Tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,9 @@ All major browsers support manipulating CSS leveraging the Dev Tools Console and

All major browsers support encoding and decoding strings in various ways leveraging the Dev Tools Console and JavaScript functionality:

- Base64 encode: `btoa("string-to-encode")`
- Base64 decode: `atob("string-to-decode")`
- URL encode: `encodeURIComponent("string-to-encode")`
- URL decode: `decodeURIComponent("string-to-decode")`
- HTML encode: `escape("string-to-encode")`
- HTML decode: `unescape("string-to-decode")`
- base64 encode: `btoa("string-to-encode")` & base64 decode: `atob("string-to-decode")` - built-in JavaScript functions that are used to encode a string to base64 and decode a string from base64.
- URL encode: `encodeURIComponent("string-to-encode")` & URL decode: `decodeURIComponent("string-to-decode")` - It encodes and decodes user-supplied input that will be used as a part of a URL, and it encodes all characters that have special meanings in a URL, including reserved characters.
- URI encode: `encodeURI()` and URI decode: `decodeURI()` are functions used to encode and decode a complete URI, such as query parameters, path segments, or fragments, including special characters but excluding the reserved characters such as `:/?#[]@!$'()*+,;=` which have special meanings in a URL.

## Responsive Design Mode

Expand Down