• Log In
  • Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Digital Systems

Department of Management Information Systems, Temple University

Digital Systems

MIS 2101.730 ■ Spring 2023 ■ Steven E. Sclarow, AIA
  • Home
  • About
    • Course Materials
    • Course Requirements
    • Email Policy
    • Grading
    • Gradebook
    • Instructor
    • Temple and COVID-19
    • Zoom Requirements
    • Zoom Links
  • Canvas Content
  • Coding Files
  • Helpdesk
  • Zoom Links
  • Video Vault
  • Diamond Peer Corner
  • Posts
    • 1a Questions
    • 1b Questions
    • 2a Questions
    • 2b Questions
    • 3a Questions
    • 3b Questions
    • 4a Questions
    • 4b Questions
    • 5a Questions
    • 5b Questions
    • 6a Questions
    • 6b Questions
    • 7a Questions

Javascript

Isel Sainte - February 19, 2023 2 Comments

This week was a difficult one because we were learning JavaScript and I knew nothing about it. This is more of my sister’s thing. She is a Graphic Designer. Anyway, variables are identifiers. Identifiers of data being entered. We create a variable by using the keyword let and after typing the name we came up with for the variable. This is how we declare a variable let yourname. This is how we initialize a variable let yourname= “Isel Sainte”; When naming a variable, the length does not matter, it can start with a letter/underscore/dollar sign, you can mix and match lowercase and uppercase letters, a number is not allowed, spaces are also not allowed.
Here is what arithmetic operators in JavaScript, and what they all do:
+ it adds

– it subtracts

* it multiples

/ it divides but this result is a floating-point number

% it divides but this result gives the remainder

Order of operation is important when using the arithmetic operators.

Reader Interactions

Comments

  1. Ryan Scharko says

    February 21, 2023 at 12:49 pm

    Hi Isel, I felt the same way when we first started covering JavaScript, it almost felt like I was reading a foreign language. I thought your breakdown of what variable is and your example of how it is utilized in JavaScript is great for those who are still confused on what a variable is and how it utilized. The rules and requirements can definitely be tricky to remember all of them but they are essential when writing code in JS!

    Log in to Reply
  2. Jessica Giare says

    February 27, 2023 at 2:56 pm

    Hi Isel, I definitely feel the same when it comes to Javascript. Coding is something I never thought I would have to do, surprisingly. Javascript is very difficult to understand in my opinion, but after practicing a little bit of code it has definitely a little bit better to comprehend. When having difficulties with understanding Javascript, I have definitely referred to the textbook a lot more and feel that it really helps a lot with understanding what may be confusing. There are a lot of good resources when needing to understand Javascript and highly recommend looking into it if you’re interested! I think variables were one of the Javascript learning objectives that were easier to comprehend versus the other factors we had to learn as well. To help me memorize what a variable does, I thought of a neat (maybe not, who knows) trick where when thinking about variables I take the last three letters of ‘les’ and realize that for a variable I need to change it from ‘les to ‘let’. And then therefore, that helped me figure out that let is the variable we need to use.

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

ANNOUNCEMENTS & POSTS

What is HTML and how it is used in our everyday lives! Part 2

The coding language that adds design elements to a web page is Cascading … [More...] about What is HTML and how it is used in our everyday lives! Part 2

What is HTML and how it is used in our everyday lives! Part 1

The coding language that adds structure to a web page is HTML (Hypertext … [More...] about What is HTML and how it is used in our everyday lives! Part 1

What are Loops?

Why do we use loops? Loops are used in programming to execute a set of … [More...] about What are Loops?

Importance of IF/ELSE Statements!

Why do we use if/else statements? We use if/else statements in programming … [More...] about Importance of IF/ELSE Statements!

The Functioning of JavaScript

A function in JavaScript is a block of code designed to perform a specific … [More...] about The Functioning of JavaScript

What does JavaScript mean to you? Read more to find out what it means to Shivam Joshi!

A variable in JavaScript is a container that holds a value, which can be a … [More...] about What does JavaScript mean to you? Read more to find out what it means to Shivam Joshi!

ITA CONTACT INFO

Tarisha Sarker - Diamond Peer

Email: tarisha.sarker@temple.edu
Office Hours: Monday, 3-5 PM
Zoom Link: https://temple.zoom.us/j/91454347337

Instructor

Steven E. Sclarow, AIA

Email: sclarow@temple.edu
Office Hours Availability: M | W, 9:30 - 10:30 AM, or by appointment. Please email me if you need to schedule an appointment outside of my normal office hours.
Zoom Link: https://temple.zoom.us/j/96464375557

Helpful Links

FOX Laptop Policy

Gradebook

Installing-VS-Code-Windows
Installing-VS-Code-Mac-OS

Copyright © 2025 · Department of Management Information Systems · Fox School of Business · Temple University