---
title: "Discussion on \"How to use OOP in JavaScript\" | Hashnode"
description: "Discussion on \"How to use OOP in JavaScript\". If you are familiar with OOP concepts look for the header with practical examples below.\nIf not please continue reading. 😊\nMy first introduction to programming was with the programming langauge Java, and one of the concepts of programming with Java ..."
url: "https://hashnode.com/posts/how-to-use-oop-in-javascript/5f51065e98ae9829ac3db2c5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to use OOP in JavaScript](https://blog.oshogunle.com/how-to-use-oop-in-javascript?utm_source=hashnode&utm_medium=feed)

If you are familiar with OOP concepts look for the header with practical examples below. If not please continue reading. 😊 My first introduction to programming was with the programming langauge Java, and one of the concepts of programming with Java ...

Sep 3, 2020 · 12 min read · blog.oshogunle.com  
Updated Mar 5, 2021  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#programmer](https://hashnode.com/tag/programmer)

## Written by

[Omotola Shogunle](https://hashnode.com/@omotola)

@omotola · Manchester, United Kingdom

  
[View profile](https://hashnode.com/@omotola)

Developer @ Peak AI

Currently, spending my time doing some practical learning, reflecting and giving back to the tech community.

## Responses 6

Markdown supported · ⌘↵ to post

[Eslam Ahmed](https://hashnode.com/@Eslam-Ahmed)

[Aug 29, 2021](https://hashnode.com/posts/how-to-use-oop-in-javascript/5f51065e98ae9829ac3db2c5/comment/612c083e2858872661b9c302)

Great article, I have referd it at my last [article](https://eslam-7ot.hashnode.dev/typescript-basics-custom-types#class). hope to know your opinion

[Olushesi Toheeb](https://hashnode.com/@OlushesiToheeb)

[Sep 11, 2020](https://hashnode.com/posts/how-to-use-oop-in-javascript/5f51065e98ae9829ac3db2c5/comment/5f5ac59d1f75694fab53ec31)

God Bless you! for this very insightful!

[Bolaji Ayodeji](https://hashnode.com/@bolajiayodeji)

[Sep 4, 2020](https://hashnode.com/posts/how-to-use-oop-in-javascript/5f51065e98ae9829ac3db2c5/comment/5f5234b5425db4768200794b)

Really insightful, thanks for sharing!

[Omotola Shogunle](https://hashnode.com/@omotola)

[Sep 4, 2020](https://hashnode.com/posts/how-to-use-oop-in-javascript/5f51065e98ae9829ac3db2c5/comment/5f5234b5425db4768200794b#reply-5f526a373c1c7b7c69017109)

Thank you [Bolaji Ayodeji](https://hashnode.com/@bolajiayodeji)

[Favourite Jome](https://hashnode.com/@Favourite)

[Sep 3, 2020](https://hashnode.com/posts/how-to-use-oop-in-javascript/5f51065e98ae9829ac3db2c5/comment/5f5149531ed5446c783c2449)

Very properly explained, thanks. Just what I've been looking forward to understand better.

[Omotola Shogunle](https://hashnode.com/@omotola)

[Sep 4, 2020](https://hashnode.com/posts/how-to-use-oop-in-javascript/5f51065e98ae9829ac3db2c5/comment/5f5149531ed5446c783c2449#reply-5f52116601fa047360c4dfca)

[Jome Favourite](https://hashnode.com/@Favourite) Here is the HTML FILE

<!DOCTYPE html>

<html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="stylesheet" href="[cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/ske…](https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.css%22) /> <link rel="stylesheet" type="text/css" href="app.css"> <title>Book List</title> </head> <body> <div class="container"> <h1>Student Registry</h1> <form id="student-form"> <div> <label for="title">Name</label> <input type="text" id="name" class="u-full-width" autocomplete="false"> </div> <div> <label for="author">Email</label> <input type="text" id="email" class="u-full-width"> </div> <div> <label for="isbn">Address</label> <input type="text" id="address" class="u-full-width"> </div> <div> <label for="isbn">Course</label> <input type="text" id="course" class="u-full-width"> </div> <div> <input type="submit" value="Submit" class="u-full-width"> </div> </form> <table class="u-full-width"> <thead> <tr> <th>Name</th> <th>Email</th> <th>Address</th> <th>Course</th> </tr> </thead> <tbody id="student-list"></tbody> </table> </div> <script src="app.js"></script> </body> </html>

I didnt have a css file because I used a css library called skeletion which has the link attached to the HTML file

[Favourite Jome](https://hashnode.com/@Favourite)

[Sep 4, 2020](https://hashnode.com/posts/how-to-use-oop-in-javascript/5f51065e98ae9829ac3db2c5/comment/5f5149531ed5446c783c2449#reply-5f521413d0d861733f18a150)

okay thanks, ill try the challenge [Omotola Shogunle](https://hashnode.com/@omotola)

[Favourite Jome](https://hashnode.com/@Favourite)

[Sep 4, 2020](https://hashnode.com/posts/how-to-use-oop-in-javascript/5f51065e98ae9829ac3db2c5/comment/5f5149531ed5446c783c2449#reply-5f52b1213c1c7b7c69017312)

Done with the challenge, I'll try not to use OOP concept to achieve the same result and then compare. [Jome Favourite](https://hashnode.com/@Favourite)

[Tapas Adhikary](https://hashnode.com/@atapas)

[Sep 3, 2020](https://hashnode.com/posts/how-to-use-oop-in-javascript/5f51065e98ae9829ac3db2c5/comment/5f512ed91ed5446c783c224e)

Awesome series!

[Omotola Shogunle](https://hashnode.com/@omotola)

[Sep 3, 2020](https://hashnode.com/posts/how-to-use-oop-in-javascript/5f51065e98ae9829ac3db2c5/comment/5f512ed91ed5446c783c224e#reply-5f514b4a81d8ab6c5765eaf3)

Thank you 😊

[Victoria Lo](https://hashnode.com/@victoria)

[Sep 3, 2020](https://hashnode.com/posts/how-to-use-oop-in-javascript/5f51065e98ae9829ac3db2c5/comment/5f5117a6c48c6b29cd2eda9a)

Yayy another amazing article!

[Omotola Shogunle](https://hashnode.com/@omotola)

[Sep 3, 2020](https://hashnode.com/posts/how-to-use-oop-in-javascript/5f51065e98ae9829ac3db2c5/comment/5f5117a6c48c6b29cd2eda9a#reply-5f514b3c1ed5446c783c2459)

Thank you so much ❤️
