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

Blog-with-API--JulioMacíasCadera-RogerOlivéDelgado #51

Open
wants to merge 29 commits into
base: main
Choose a base branch
from

Conversation

RogerOliveDelgado
Copy link

No description provided.

Copy link

@alicembranos alicembranos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect job and very clean code!!

<title>Blog with API</title>
</head>
<body>
<main class="main__container">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Improvement suggestion: Apply the principles of writing the attributes in order in HTML tags. https://github.com/necolas/idiomatic-html#attribute-order

postsCont.addEventListener('click', (e) => {

if (e.target.hasAttribute('data-hide-comments')){
const postId = e.target.getAttribute('data-show-comments')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 54 and 63 are repeated, maybe you can take it out the if else statement and put it at the beginning of the function.

@@ -0,0 +1,19 @@
.avatar{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

habeis utilizado nuevas técnicas en el css 👏🏻🥳

@@ -0,0 +1,20 @@
/*RESET*/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything related to css very well structured and clean. Pikachu approves this CSS

@@ -0,0 +1,186 @@
//API url path

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Little to add really. Awesome work!!!!! Pikachu approves this JS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants