Giter Site home page Giter Site logo

Comments (5)

dipikabh avatar dipikabh commented on June 19, 2024 1

Hello @TheCodePilot! Welcome to the MDN Web Docs project. 🙌

Could you highlight exactly what section and code you are referring to on this page https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Basics?

You might want to go over our documentation on JavaScript basics to help you get started.

from learning-area.

TheCodePilot avatar TheCodePilot commented on June 19, 2024 1

from learning-area.

TheCodePilot avatar TheCodePilot commented on June 19, 2024

from learning-area.

bsmth avatar bsmth commented on June 19, 2024

Hi @TheCodePilot - thanks for raising the issue. I've transferred this over to the learning area repository.

You're right that the <script> element should be inside the <body>, or in the <head>:

<!DOCTYPE html>
<html lang="en-us">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>Object-oriented JavaScript example</title>

    <script></script>
  </head>

  <body>
    <p>
      This example requires you to enter commands in your browser's JavaScript
      console (see
      <a
        href="https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_are_browser_developer_tools"
        >What are browser developer tools</a
      >
      for more information).
    </p>
  </body>
</html>

Would you like to open a pull request to fix it? You can get started here on GitHub directly if you like:

Screenshot 2023-02-24 at 10 31 15 AM

from learning-area.

bsmth avatar bsmth commented on June 19, 2024

Well done on your contribution and welcome! 🎉

I'm going to close the issue as fixed in #596

from learning-area.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.