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

Mohammed Zeeshan
Mohammed Zeeshan
Courses Plus Student 681 Points

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,866 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,866 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.