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

Tell us what’s happening:

Error: You should have an input element with an id of “search-input” and is required.

Your code so far

<!-- file: index.html -->

<div class="input-field">
        <input type="text" id="search-input" />
        <button id="search-btn">Search</button>
      </div>

/* file: script.js */

/* file: styles.css */

Your browser information:

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

Challenge Information:

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

Hello!

I do not see required in the input element which has the id search-input.

Try adding the text required, and nothing else to see if that helps.

Keep up the good progress!

2 Likes

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