Easiest Way to Run JavaScript, HTML & CSS in One Place

Hello my frontend developer friends, today i will be discussing one of the best tools i have found on the web – scribbler.live, a JavaScript Notebook, Online Compiler & Editor.

Let’s dive in

Let’s start with javascript itself, i mean who won’t lo…


This content originally appeared on DEV Community and was authored by Shubham Tiwari

Hello my frontend developer friends, today i will be discussing one of the best tools i have found on the web - scribbler.live, a JavaScript Notebook, Online Compiler & Editor.

Let's dive in

Let's start with javascript itself, i mean who won't love javascript?
Every web developer saviour, protector and supporter is javascript. So, there should be an easy way to run javascript easily without much manual configuration, right?. That is why, we have 8scribbler.live* to help you run the javascript and leave the configuration and everything to scribbler.live

Features

  • Open and free, so no login is required.
  • Easy to use, could be run without npm, node or pnpm.
  • Works on any modern browser and responsive for mobile devices.
  • Can load third party libraries without any manual installation.
  • Support HTML, CSS and Markdown as well.
  • Has github integration, it means we can push and pull from github directly.

Use cases

  • Run code snippets of javascript individually.
  • Run test cases for your code snippets.
  • Could test APIs, UI and do unit tests, share test cases and results with anyone on the internet.
  • Train AI/ML models with tensorflow and brain.js libraries.
  • Perform scientific computations with math and scientific libraries.
  • Run UI related snippets using HTML and CSS. and much more...

Example notebooks

Printing a result using show method

scrib.show("Scribller is awesome!!") 

If-else conditional

function superHero(human){
  if(human === "clark"){
    scrib.show("Superman")
  }
  else {
    scrib.show("Batman")
  }
}
superHero("bruce") // Batman

Rendering HTML and CSS

scrib.show(`<p style="background:linear-gradient(90deg, violet, purple);color:#ffffff;width:fit-content; padding: 10px 36px;border-radius:20px">Hello</p>`)

Plotting a graph

let id=range(1,10,0.01).map(Math.sin).plot();

Graph example snapshot

API Testing

async function testAPI(apiUrl) {
    try {
        // Make HTTP GET request to the API endpoint
        const response = await fetch(apiUrl);

        // Parse JSON response
        const userData = await response.json();

        // Validate response data
        if (response.ok) {
            scrib.show('User data:', userData);
        } else {
            scrib.show('Error:', userData.error);
        }
    } catch (error) {
        scrib.show('Error fetching user data:', error);
    }
}
// Call the function to test the user API. Use your own API here
const apiUrl = 'https://jsonplaceholder.typicode.com/users'; // Example API endpoint URL
testAPI(apiUrl);

That's it for this post, Let me know if i could do any improvements in this article. Also, do check Scribbler.live website.

You can contact me on -

Instagram - https://www.instagram.com/supremacism__shubh/
LinkedIn - https://www.linkedin.com/in/shubham-tiwari-b7544b193/
Email - shubhmtiwri00@gmail.com

You can help me with some donation at the link below Thank you👇👇
https://www.buymeacoffee.com/waaduheck

Also check these posts as well





This content originally appeared on DEV Community and was authored by Shubham Tiwari


Print Share Comment Cite Upload Translate Updates
APA

Shubham Tiwari | Sciencx (2025-02-20T08:19:06+00:00) Easiest Way to Run JavaScript, HTML & CSS in One Place. Retrieved from https://www.scien.cx/2025/02/20/easiest-way-to-run-javascript-html-css-in-one-place/

MLA
" » Easiest Way to Run JavaScript, HTML & CSS in One Place." Shubham Tiwari | Sciencx - Thursday February 20, 2025, https://www.scien.cx/2025/02/20/easiest-way-to-run-javascript-html-css-in-one-place/
HARVARD
Shubham Tiwari | Sciencx Thursday February 20, 2025 » Easiest Way to Run JavaScript, HTML & CSS in One Place., viewed ,<https://www.scien.cx/2025/02/20/easiest-way-to-run-javascript-html-css-in-one-place/>
VANCOUVER
Shubham Tiwari | Sciencx - » Easiest Way to Run JavaScript, HTML & CSS in One Place. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/02/20/easiest-way-to-run-javascript-html-css-in-one-place/
CHICAGO
" » Easiest Way to Run JavaScript, HTML & CSS in One Place." Shubham Tiwari | Sciencx - Accessed . https://www.scien.cx/2025/02/20/easiest-way-to-run-javascript-html-css-in-one-place/
IEEE
" » Easiest Way to Run JavaScript, HTML & CSS in One Place." Shubham Tiwari | Sciencx [Online]. Available: https://www.scien.cx/2025/02/20/easiest-way-to-run-javascript-html-css-in-one-place/. [Accessed: ]
rf:citation
» Easiest Way to Run JavaScript, HTML & CSS in One Place | Shubham Tiwari | Sciencx | https://www.scien.cx/2025/02/20/easiest-way-to-run-javascript-html-css-in-one-place/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.