Jump to ratings and reviews
Rate this book

Thinking in JavaScript

Rate this book

JavaScript is a scripting language for the web. Before we delve into the intricacies of JavaScript, we need to know why it is used. While HTML tells your browser how your webpage will look, JavaScript is used for dynamic content and to add functionality.

Using this book, you will understand the concept of JavaScript and its use in web designing. You will also have a look at jQuery in general. You will learn about Functions, Operators, the concept of Variables, Conditions and Loops, Arrays, and the basics of jQuery in this book.

Instead of wandering through loads of theory, we have used practical examples in this book. The examples in this book are compatible with almost every browser. Instead of using the verbatim code, you can modify the code and see the change in the output thereby understanding the subtle nuances of JavaScript.

By the end of the book, with practice, you can achieve better things and get more acquainted with JavaScript.

39 pages, Kindle Edition

First published April 14, 2014

172 people are currently reading
204 people want to read

About the author

Aravind Shenoy

13 books8 followers
A Content Specialist by profession, Aravind Shenoy’s core interests are Web Design, Marketing, Content Writing, Content Development, and Business Analysis. A music buff - he loves listening to Alternative, Electronic, and Techno-industrial stuff. ATB, Massive Attack, The Prodigy, Chemical Brothers, Fatboy Slim, Darude, Fragma, Bomfunk MC's, and Jamiroquai rule his playlists. An engineering graduate from the Manipal Institute of Technology and author of several books, he feels “The most important thing is to be happy - it’s all that matters. After all, we are here for a good time, not a long time".

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
72 (26%)
4 stars
61 (22%)
3 stars
75 (27%)
2 stars
44 (16%)
1 star
18 (6%)
Displaying 1 - 14 of 14 reviews
Profile Image for Nova Rizkiyah.
12 reviews
September 28, 2021
Buku karangan Aravind Shenoy ini bisa Anda akses gratis di kindle. Meski tipis, bukunya lumayan bagus untuk baca-baca santai. Tidak seperti buku yang saya review sebelumnya yang kebanyakan 'sejarah', buku ini lebih banyak tutorialnya. Disini paling awal kita diajak untuk langsung masuk ke alert, adalah ketika kita mengklik tulisan atau tombol maka muncul pesan tertentu. Kita bisa menuliskannya langsung di html atau menuliskannya di file terpisah misalnya [yourfile].js . Biasanya yang kedua sering dipakai agar tidak tercampur baur dengan file html.

Buku ini terbitan tahun 2014, meski begitu buku ini sedikit memberikan gambaran sederhana cara make javascript. Dulu, di tumblr, saya bilang kalau javascript bukan bahasa. Saya keliru, javascript adala bahasa pemrograman, yang kalau di web programming unpas, pak sandhika galih bilang: salam titik koma. Perlu diketahui bahwa bahasa ini membutuhkan ; (titik koma) di akhir kalimatnya.

JavaScript biasanya digunakan untuk konten blog yang dinamis dan menambah fungsionalitasnya. Intinya javascript itu "kelakuan" apa yang dihasilkan ketika pengguna menggunakan web, misalnya ketika pengguna scroll blog, ketika pengguna klik tombol, ketika pengguna melihat2 foto, respon "perilaku" apa yang akan ada disana misalnya warna tombol berubah, fotonya diperbesar, scroll seperti ada efek menggulung. Yang demikian merupakan kegunaan dari javascript.

Bab kedua berisi tentang perbedaan antara variabel dan konstanta. Seperti namanya bahwa konstata adalah nilai yang tetap sedangkan variabel nilainya selalu berubah. Variabel dibagi menjadi dua yakni variabel lokal dan global, bedanya variabel lokal hanya bisa diakses di dalam fungsi sedangkan variabel global dapat diakses dari lokasi manapun.

Fungsi merupakan bagian yang tak terpisahkan dari javascript. Seperti yang sudah dijelaskan sebelumnya bahwa tujuan penting dari JavaScript adalah untuk menambahkan fungsionalitas ke halaman web. Misalnya, kita ingin menambahkan fungsionalitas tertentu dalam JavaScript dan kita perlu menerapkan pada halaman situs web yang berbeda atau pada tempat yang berbeda di halaman web yang sama. Daripada menambahkan fungsionalitas setiap kali, kita dapat menggunakan konsep fungsi dengan kita hanya mendeklarasikan fungsi satu kali. Darisana, kita dapat menggunakan fungsionalitasnya beberapa kali di beberapa halaman web atau di tempat yang berbeda di situs web.

Bab selanjutnya sedikit menyinggung OOP/ Object Oriented Programming adalah paradigma dalam pemrograman yang berdasarkan konsep 'objek'. Properti atau atribut adalah mendefinisikan nilai untuk objek. Metode adalah fungsi yang didefinisikan di dalam kelas yang menggambarkan perilaku suatu objek. Misalnya manusia, merupakan class: human (kelas: blueprint dari sesuatu yang umum), objectnya merupakan nama manusia tersebut(sesuatu yang lebih spesifik). Propertinya misalnya alamat, email. Metodenya: verifikasi dan send email.

Bab terakhir membahas tentang jQuery merupakan library javascript yang banyak digunakan. Library ibarat sumber data terbuka dimana sudah ada kumpulan animasi dan navigasi yang telah dikembangkan dapat dengan mudah kita gunakan (kita panggil). Cara memanggilnya hampir sama dengan memanggil CSS(Cascading Style Sheets) dengan terlebih dulu menuliskan jquery atau dolar($), lalu misalnya memanggil class pakai hesteg (#), kalau id pakai dot (.)
3 reviews
November 30, 2020
Easy and quick guide

I learnt sufficient to explore javascript by myself in 30 mins!! Great! Really very good book. Author has used easy language and good easy to understand examples.
Profile Image for Shreyas Gombi.
1 review
March 15, 2022
Yes, it's a very small book. It just jogs through extremely basic fundamentals of JavaScript and a little bit of jQuery. Ofcourse the title should've been something to indicate that this book is focused purely as a small handbook with xyz topics.
Profile Image for Trajano Lima.
81 reviews
April 8, 2022
Great introductory book about javascript. Quick read with an easy to understand overview. Maybe not so pleasant if you lack programming background. However, it's not to technical for who's knowledgeable in any language.
Profile Image for Arunraj Nair.
2 reviews
February 24, 2018
Too basic

I would not recommend this book if you actually want to learn Javascript. This book is just a waste of time.
Profile Image for Carolyn Lynch.
1 review1 follower
January 3, 2017
Awesome quick read!

This book is very informative and simple examples. I learned a lot in a very little amount of time. Great!
Profile Image for Roger.
2 reviews
February 15, 2017
Isn't very good considering its 300+ pages

If you buy this it's a mistake. But the Beginner JavaScript book by a different publisher, I own that one and it's still a resources.
Profile Image for Andrea.
27 reviews1 follower
September 8, 2014
Livro fininho e básico sobre Javascript, considerando que foi gratuito, achei bom. Começa com um um exemplo tipo "hello word" em js, através de um alert na tela. Explica que o js pode ficar no head ou body e qual a diferença. Fala de variáveis (global e local) e constantes, operadores lógicos e aritméticos, condicionais e loop. Objetos, funções e métodos, arrays; e ao final, faz uma overview do jQuery.
600 reviews11 followers
December 14, 2016
A book with a bold title and nothing to show for. The book is short and has nothing to offer that goes beyond the most basic examples of JavaScript and JQuery. And by basic I mean alert-boxes to display that something happened. Don’t bother to read it, even when it’s for free. Another absolute let-down by a book published by Packt.
Profile Image for Laura Daw.
Author 6 books
September 23, 2015
Love the Hands On Approach

I have to do it to learn it. This book was a hands on journey through the basic features of javascript.
Profile Image for Robert Baron.
8 reviews11 followers
January 25, 2016
A book for beginner's

If you want to start with JS go for it, if you already know JS, go for something more advance :)
Displaying 1 - 14 of 14 reviews

Can't find what you're looking for?

Get help and learn more about the design.