Skip to content

Conversation

@victor-gv
Copy link

No description provided.

.img-thumbnail {
padding: 0;
border: none;
width: 100%;

Choose a reason for hiding this comment

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

We can also change the height property of the images to make everything have the same size.

Copy link

@alejandroaperez1994g alejandroaperez1994g left a comment

Choose a reason for hiding this comment

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

Great work team!!

src/js/main.js Outdated
"https://pixabay.com/api/?key=27437216-9ddae61d97237ec9e5fc37f36&q=nature&image_type=photo&category=nature"
);

Posts.then((response) => response.json())

Choose a reason for hiding this comment

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

I think that these methods related to making requests to the API can be added in another .js, just like other functions in another .js for example utils.js


const createElement = (element) => {
return document.createElement(element);
};

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

@@ -0,0 +1,95 @@

Choose a reason for hiding this comment

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

I think that the styles referring to the different parts of the page can be separated using a css for each one. Little more to add, excellent work! Pikachu approves this CSS

"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"server": "json-server --watch ./src/data/db.json",
"start": "concurrently \"npm run json_server\" \"npm run server\" "

Choose a reason for hiding this comment

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

Excellent script, I copy it for future projects! Pikachu approves this JSON

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