gwilcox019 / grace-serverless-3

1 stars 0 forks source link

Song4u #14

Closed danielkimtest closed 3 years ago

ghost commented 3 years ago

Week 2 Step 8 ⬤⬤⬤⬤⬤⬤⬤⬤ | 🕐 Estimated completion: 5-10 minutes

Ok, Boomer :neutral_face:

✅ Task:

Modify your Azure Function so that it texts the user back with a song.

🚧 Test Your Work

To test your work, try texting a jpg image to your Twilio number (with a face!). You should receive a text back that contains the required message format.

Example:

Sent from your Twilio trial account - We guessed you're part of this generation: GenZ! Happy listening! https://open.spotify.com/track/0SIAFU49FFHwR3QnT5Jx0k?si=1c12067c9f2b4fbf

Working with JSON

JSON has keys and values. In our case, the generation is the key, and the url is the value.

See if you can determine the url with this syntax:

let value = json_object[key]

Shortcuts with Strings

You might be used to concatenating strings and variables like this:

let string = "Hello " + name

That can get tiring, though. Try this syntax:

let string = `Hello ${name}`
ghost commented 3 years ago

📝 Week 2 Livestream Feedback

Please complete after you've viewed the Week 2 livestream! If you haven't yet watched it but want to move on, just close this issue and come back to it later.

Help us improve BitCamp Serverless - thank you for your feedback! Here are some questions you may want to answer:

:camping: To move on, comment your feedback.

danielkimtest commented 3 years ago

I felt that the livestream was helpful - I watched it back to get through the first five steps. I think the pace towards the end was better; at the beginning it was a bit slow. I also found Shreya's little videos to be really helpful and at a good pace.

ghost commented 3 years ago

Providing Feedback

What was confusing about this week? If you could change or add something to this week, what would you do? Your feedback is valued and appreciated!

danielkimtest commented 3 years ago

feed back commented!

ghost commented 3 years ago

⏰ Time to merge!

Go ahead and merge this branch to main to move on. Great work finishing this section!

merge

⚠️ If you receive a Conflicts error, simply press Resolve conflicts and you should be good to merge!