top of page

Well it's been a while, huh.

Writer: Amulya Malapaka
Amulya Malapaka
Apr 19, 2019
1 min read

Welcome back girls and boys, we're in for a fun ride :) As the end of the school year approaches us I'm sure we're excited for a summer of experimenting and fun! Well let's use this feeling to fuel our coding skills! With finals and AP exams coming up, everyone could use a little bit of encouragement, so let's write a function to construct a letter to someone that needs the help.

//establish the function with the name as the parameter

//create a variable to save the name provided in the function

//set up a print statement and use back slashes to create a nicely formatted letter and use the variable to add in the name to the letter


Hints: Here's some help with creating new lines and formatting a paragraph in HTML: https://www.w3schools.com/html/html_paragraphs.asp


And of course, as always, thoda sa chai(a little bit of tea in Hindi): https://www.ohhowcivilized.com/iced-chai-tea-latte/

 
 
 

Recent Posts

See All
THANKSGIVING!

IT'S THANKSGIVING!!! Want to know what I'm thankful for? I'm thankful for the beautiful weather we've been having.(Yes that was...

 
 
 

1 Comment


Manasi Mangalvedhe
Manasi Mangalvedhe
Apr 29, 2019

function letter(name)

{

var name = name;

return "Good luck with finals, " + name;

}

Like
bottom of page