Build a Pokémon Search App Project - Build a Pokémon Search App

Tell us what’s happening:

Can you explain to me what needs to be added to my code your help will be well appreciated.

Your code so far

/* Add some CSS styles here */ body { font-family: Arial, sans-serif; margin: 0; padding: 0; }
#container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

#search {
  display: flex;
  align-items: center;
  justify-content: center;
}

#search-input {
  width: 300px;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  font-size: 18px;
}

#search-button {
  width: 100px;
  height: 40px;
  border: none;
  border-radius: 5px;
  margin-left: 10px;
  background-color: #f0c808;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

#pokemon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

#sprite {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

#info {
  margin-left: 20px;
}

#info p {
  margin: 0;
  padding: 5px;
  font-size: 18px;
}

#types {
  display: flex;
  flex-wrap: wrap;
}

#types span {
  margin: 5px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 18px;
}
Search

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0

Challenge Information:

Build a Pokémon Search App Project - Build a Pokémon Search App

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.