This code adds special characters to text to print in color in the console (combined with console.log()). Use template literals and special characters to add the appropriate color code to the string output. For background colors, add a special character that resets the background color at the end of the string. Source https://www.30secondsofcode.org/js/s/colorize
| CARVIEW |
Select Language
HTTP/2 301
date: Thu, 22 Jan 2026 15:22:06 GMT
content-type: text/html; charset=UTF-8
location: https://javascriptsource.com/page/10/
x-fw-version: 5.0.0
x-fw-server: Flywheel/5.1.0
x-xss-protection: 1
x-redirect-by: WordPress
x-content-type-options: nosniff
x-fw-dynamic: TRUE
x-fw-hash: x4u4abmr3y
referrer-policy: no-referrer-when-downgrade
server: cloudflare
accept-ranges: bytes
x-served-by: cache-bom-vanm7210053-BOM, cache-bom-vanm7210032-BOM
x-cache: MISS, MISS
x-cache-hits: 0, 0
x-timer: S1769095326.437332,VS0,VE466
x-fw-serve: TRUE
x-fw-static: NO
x-fw-type: VISIT
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=tTPE%2FS0sIev3%2FpgWvKm0SX7J2JldFawCR5K85DZ57oTTAa7VSmE4o6FqK0oVlubYPTLUjJ2awsW7yBEmBRHDBnm2m8cMGtH9WuuGzuTJbEDUIEd7"}]}
cf-ray: 9c200b7dfb7346c5-BOM
alt-svc: h3=":443"; ma=86400
HTTP/2 200
date: Thu, 22 Jan 2026 15:22:09 GMT
content-type: text/html; charset=UTF-8
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=sGdv69knfKMVQk2KG7%2F6y0nk3h9H4iW60gdU2nake3b4BNN1rp2VLIvWvkhY3fCCXfRKZ2%2B%2FKwV6ufp9HGeem3JGyKVMrAynHt9771fc8uOo%2FkMs"}]}
x-fw-hash: x4u4abmr3y
x-fw-server: Flywheel/5.1.0
referrer-policy: no-referrer-when-downgrade
x-fw-dynamic: TRUE
link: ; rel="https://api.w.org/"
x-xss-protection: 1
x-fw-version: 5.0.0
x-content-type-options: nosniff
server: cloudflare
x-cacheable: YES
fastly-restarts: 1
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
x-served-by: cache-bom-vanm7210037-BOM, cache-bom-vanm7210032-BOM
x-cache: MISS, MISS
x-cache-hits: 0, 0
x-timer: S1769095327.924072,VS0,VE2289
vary: Accept-Encoding
x-fw-serve: TRUE
x-fw-static: NO
x-fw-type: VISIT
cf-cache-status: DYNAMIC
content-encoding: gzip
cf-ray: 9c200b811e4c46c5-BOM
alt-svc: h3=":443"; ma=86400
JavaScriptSource - Page 10 of 36 - Search 5,000+ Free JavaScript Snippets
Tell the browser when to run your JavaScript code
Combine all items in an array into a string
Count the occurrences of a value in an array
Capture the right click event with JavaScript
Reverse the order of items in an array
Return every nth element in an array
Determine whether two values are the same value
Take the content of an array and return a single value
Remove whitespaces from a string
- « Go to Previous Page
- Go to page 1
- Interim pages omitted …
- Go to page 8
- Go to page 9
- Go to page 10
- Go to page 11
- Go to page 12
- Interim pages omitted …
- Go to page 36
- Go to Next Page »










