User Tools

Site Tools


en:web_development:text:javascript

This is an old revision of the document!


Web Development Lesson 2 - Text

Javascript

Setup

We'll build on the work you've done so far so if you need to, copy the code below into jsfiddle. <code><h1 style=“font-family:arial, sans-serif; color: green; font-size: 1.7em; text-decoration: underline; font-variant:small-caps; text-shadow:2px 2px #ff0000;”> My Story </h1> <p style=“text-align:right”> My friend Pablo has a <em style=“color:red; font-weight:700”>pet dog</em> called Sam who likes to have his tummy scratched. When they go to the park, <strong>he likes to chase a <em>ball</em>.</strong> He rolls in the dirt so Pablo has to wash him when they get home. </p> <p style=“text-indent:50px”> On Sundays they drive to the mountains where he runs around smelling the grass and <span style=“color:blue;”>wagging his tail</span>. He gets so tired that he sleeps all the way home. </p>

Headline

en/web_development/text/javascript.1637592838.txt.gz · Last modified: 2023/08/16 09:33 (external edit)