-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes var name from location to currentCity to avoid using JS reser…
…ved keyword
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,12 +62,12 @@ When working with JavaScript, we use <code>camelCase</code> for variable names, | |
```js | ||
var email = "[email protected]"; | ||
var firstName = "Brandi"; | ||
var location = "Tampa, FL 🌴"; | ||
var currentCity = "Tampa, FL 🌴"; | ||
``` | ||
|
||
<div class="try-it-new"> | ||
<h3>Try It: Variables in JavaScript</h3> | ||
<p>Back in your sandbox replit, declare three variables that describe yourself, using the names <code>name</code>, <code>email</code>, and <code>location</code>.</p> | ||
<p>Back in your sandbox replit, declare three variables that describe yourself, using the names <code>name</code>, <code>email</code>, and <code>currentCity</code>.</p> | ||
<p>Make sure to <code>console.log</code> each variable to verify you've stored it correctly!</p> | ||
</div> | ||
|
||
|