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 JavaScript Basics (Retired) Storing and Tracking Information with Variables The Variable Challenge

How do I enlarge the text that is displayed?

I would like to enlarge the story text to paragraph or h3 size, I do not know how to so. Please help. Here is a snapshot of my work:

https://w.trhou.se/ho5zc288rn

alert("Wanna make a story? Follow the instructions"); change it into this var heading = 'Wanna make a story? Follow the instructions'; var headingBig = heading.fontsize(7); alert(headingBig);

5 Answers

I mean how do I enlarge the text that is displayed with the document.write command?

Antonio De Rose
Antonio De Rose
20,878 Points

whilst you are in the screen you want to increase, try CTRL+

David Esparza
David Esparza
1,723 Points

The way to enlarge the text is by going to css stylesheet "main.css". Since your javascript is in the <div> class named ".container" you can change font-size.

Antonio De Rose
Antonio De Rose
20,878 Points

sorry did not understand your question.

is this what you want to do <h3>The Story Maker</h3> <p>The Story Maker</p>

Rod R
Rod R
3,050 Points

I went to the css file (main.css) and changed the 'font-size' setting on line 13 from 100% to 150%. saved, reloaded the preview. It enlarged the overall display.