Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

Routine Poutine
Routine Poutine
26,050 Points

How do you write a simple Node.js app that runs upon execution with graphics-- "Hello World" filling the screen?

Hi,

I'm new to Node.js, or any server side language. I've only dabbled with Python, JavaScript, and now Node.js and am uncertain of how to take write a file that goes beyond displaying HTML/CSS in the browser and simple text in the terminal. Is there a quick way to get a taste for how the terminal can be used to run a simple graphical app?

Routine Poutine
Routine Poutine
26,050 Points

I can open apps already in existence with the terminal, but I'm hoping to write a file in an IDE that displays a simple graphic parallel to a browser display. Even if it was just "Hello World" in graphics.

Hey Matthew, what are you looking for the graphic to open up in? A browser, or some other app like Preview?

Routine Poutine
Routine Poutine
26,050 Points

Hi Brandon, I'm wondering if I can open up a Nodejs app the way I open up Keynote, Pages, or Numbers. I'm not sure what that's called, but I know it's not the browser -- is it "native"? I'd just like to try to write a simple program and open it up natively rather than in the browser. Thanks.