Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUE LEARNYOUHTML #2647

Open
cristinalac opened this issue Jun 8, 2023 · 1 comment
Open

ISSUE LEARNYOUHTML #2647

cristinalac opened this issue Jun 8, 2023 · 1 comment

Comments

@cristinalac
Copy link

cristinalac commented Jun 8, 2023

Notes

Please delete this section after reading it

If you have a problem with an error message:

  • node version: <run "node -v" in you terminal and replace this>
  • npm version: <run "npm -v" in you terminal and replace this>
  • os: windows 7/windows 10/mac/linux

Error output

 // copy your error output here
```MacBook-Pro-de-Farid:Ejercicio faridjamilsesinrueda$ learnyouhtml verify index.html

# Learn HTML

## TAGS (Exercise 2 of 11)

/usr/local/lib/node_modules/learnyouhtml/utils/parse.js:8
    return resolve(tree.firstChild.structure);
                                   ^

TypeError: Cannot read properties of undefined (reading 'structure')
    at /usr/local/lib/node_modules/learnyouhtml/utils/parse.js:8:36
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
### My Code
```js
 // copy your code here
```<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Hello, world!</title>
    </head>
    <body>
        <p>El bloque básico de un documento es el párrafo. Dentro de un documento HTML, es preciso marcar explícitamente el comienzo de un párrafo, para lo cual se utiliza la etiqueta.</p>
        <hr>
        <p>En caso de no especificarlo, todo el texto se mostraría como una única línea. Se debe tener en cuenta que determinados elementos que se verán más adelante (títulos, blockquotes, preformateados, listas) insertan un salto de párrafo o línea de forma automática.</p>
    </body>
</html>
@cristinalac
Copy link
Author

TypeError: Cannot read properties of undefined (reading 'structure')

My Code: MacBook-Pro-de-Farid:Ejercicio faridjamilsesinrueda$ learnyouhtml verify index.html

@issuelabeler issuelabeler bot added the meta label Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant