Variable name conventions

// let $function =27;// let FirstName = “Jonas”;// let PI = 3.1415;// let myFirstJob =’Programming’;// let myCurrentJob=’Teacher’;// let job1=’programmer’;// let ojb2 = ‘teacher’;
let javascriptIsFun = true;console.log(javascriptIsFun)console.log(typeof true)-booleanconsole.log(typeof javascriptIsFun)-booleanconsole.log(typeof 23)- numberconsole.log(typeof ‘Jonas’)-stringjavascriptIsFun=”Yes” console.log(typeof javascriptIsFun)let year;console.log(year)console.log(typeof year)year=1994;console.log(year)
console.log(typeof year)
console.log(typeof null)- It show as object on Console, but actualy undefiend

“Module not found: Can’t resolve ‘@stripe/react-stripe.js’”

@stripe/react-stripe-js’ or ‘@react-stripe-js


const submitHandler = (e) =>{ 
dispatch(savePaymentMethod(paymentMethod)) history.push(‘/placeorder’) }
label='PayPal or Credit Card'
name = 'paymentMethod'
onChange={(e) => setPaymentMethod(} >

const cart = useSelector(state => state.cart) //from Redux stateconst {cartItems} = cart //cartItems=[3, 2, 1, 2]; const =>qty.qty)
// You can use either way of reduce method

const qtysum = totalqty.reduce(function(total, current) {
return total + current;}, 0);orconst qtysum = totalqty.reduce((total, current)=> total + current,0);//qtysum = 8

web: gunicorn <my-app>.wsgi — log-file -

“Version”: “2008–10–17”,
“Statement”: [
“Sid”: “AllowPublicRead”,
“Effect”: “Allow”,
“Principal”: {
“AWS”: “*”
“Action”: [
“Resource”: “arn:aws:s3:::< bucket-name>/*”

Photo by Jun
< Django>
context = { 'item_name': Macbook}
render(request,'users/item.html', context )
<html><p> First Item: {% item_name %}.</p>


Photo by Glenn Carstens-Peters on Unsplash

Martin Cho

I am on a long programming journey with genuine curiosity and passion. I record my memories here.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store