Skip to content

[LIS-WBFT-APR2023] João Madeira #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jodmadeira
Copy link

No description provided.

Copy link

@webLisbonTA webLisbonTA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job on the lab, João!

// Iteration 1: Names and Input
const hacker1 = "João Madeira"
const hacker2 = "Pedro Nogueira"
console.log("The driver name is ",hacker1,", and the navigator name is ",hacker2)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you call the values of the variables you defined earlier, you should use string interpolation and it's syntax.
Something like this:
console.log(`The driver name is ${hacker1}, and the navigator name is ${hacker2}`)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants