Skip to content

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

Open
RogerOliveDelgado wants to merge 29 commits into
assembler-institute:mainfrom
RogerOliveDelgado:main
Open

Blog-with-API--JulioMacíasCadera-RogerOlivéDelgado#51
RogerOliveDelgado wants to merge 29 commits into
assembler-institute:mainfrom
RogerOliveDelgado:main

Conversation

@RogerOliveDelgado

Copy link
Copy Markdown

No description provided.

@alicembranos alicembranos left a comment

Copy link
Copy Markdown

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!!

Comment thread index.html
<title>Blog with API</title>
</head>
<body>
<main class="main__container">

Copy link
Copy Markdown

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

Comment thread src/js/main.js
postsCont.addEventListener('click', (e) => {

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

Copy link
Copy Markdown

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{

Copy link
Copy Markdown

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 👏🏻🥳

Comment thread src/css/main.css
@@ -0,0 +1,20 @@
/*RESET*/

Copy link
Copy Markdown

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

Copy link
Copy Markdown

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