| Title | Open | |||
|---|---|---|---|---|
| 4 | Change Text ContentSelect the paragraph with id="message" and change its text content to "Text has been changed!". | easy | Not started | Solve |
| 5 | Add CSS ClassSelect the button with id="myButton" and add the CSS class "active" to it. | easy | Not started | Solve |
| 7 | Change Button TextSelect the button with id="submitBtn" and change its text content to "Submit Form". | easy | Not started | Solve |
| 8 | Add CSS Class to HeadingSelect the heading with id="pageTitle" and add the CSS class "highlight" to it. | easy | Not started | Solve |
| 9 | Change Image SourceSelect the image with id="profilePic" and change its src attribute to "avatar.png". | easy | Not started | Solve |
| 12 | Change Multiple CSS StylesSelect the paragraph with id="styledText" and change its color to "blue", fontSize to "20px", and backgroundColor to "lightyellow". | easy | Not started | Solve |
| 13 | Toggle CSS ClassSelect the div with id="themeBox" and toggle the CSS class "dark" on it. | easy | Not started | Solve |
| 14 | Change innerHTMLSelect the div with id="contentBox" and replace its innerHTML with a new heading and paragraph. | easy | Not started | Solve |
| 16 | Remove an ElementSelect the paragraph with id="removeMe" and remove it from the page. | easy | Not started | Solve |
| 19 | Update a Link's DestinationSelect the link with id="navLink" and change its href to "https://example.com" and its text content to "Visit Example". | easy | Not started | Solve |
| 20 | Remove CSS ClassSelect the div with id="alertBox" and remove the CSS class "error" from it. | easy | Not started | Solve |
| 21 | Query Selector by ClassUse querySelector() to select the first element with class "highlight" and change its text content to "Highlighted Text". | easy | Not started | Solve |
| 69 | Change Paragraph TextA paragraph with id="msg" currently says 'Old text'. | easy | Not started | Solve |
| 70 | Hide an ElementA div with id="box" is visible. | easy | Not started | Solve |
| 106 | Change the Heading TextThe page has a heading with the id title. | easy | Not started | Solve |
| 107 | Highlight the ButtonThere is a button with the id cta. | easy | Not started | Solve |
| 108 | Set the Image Alt TextAn image with the id logo is missing its alternative text, which screen readers rely on. | easy | Not started | Solve |
| 109 | Paint the Paragraph RedA paragraph with the id note should stand out as a warning. | easy | Not started | Solve |
| 110 | Rename the ProductA <span> element has the class product-name and currently shows Widget. | easy | Not started | Solve |
| 111 | Update the Link URLA navigation link with the id home-link currently points to a placeholder #. | easy | Not started | Solve |
| 112 | Add a To-Do ItemThere is a to-do list <ul> with the id todo that already contains one item. | easy | Not started | Solve |
| 166 | Set Input Placeholder TextSelect the input with id="nameInput" and set its placeholder attribute to "Enter your name". | easy | Not started | Solve |
| 167 | Set an Element's Text ColorSelect the paragraph with id="msg" and set its text color to "red" using the style property. | easy | Not started | Solve |
| 168 | Set a Background ColorSelect the element with id="banner" and set its backgroundColor style to "yellow". | easy | Not started | Solve |
| 169 | Make Text BoldSelect the span with id="label" and make its text bold by setting fontWeight to "bold". | easy | Not started | Solve |
| 170 | Add Alt Text to an ImageSelect the image with id="logo" and set its alt attribute to "Company logo". | easy | Not started | Solve |
| 171 | Add Multiple Classes at OnceSelect the paragraph with id="note" and add BOTH classes "bold" and "rounded" in a single classList.add() call. | easy | Not started | Solve |
| 172 | Replace a CSS ClassSelect the div with id="alert" and replace its "info" class with "warning" using classList.replace(). | easy | Not started | Solve |
| 173 | Set a Tooltip TitleSelect the button with id="delBtn" and set its title attribute to "Delete this item" so it shows a tooltip on hover. | easy | Not started | Solve |
| 174 | Open a Link in a New TabSelect the link with id="siteLink" and set its target attribute to "_blank" so it opens in a new tab. | easy | Not started | Solve |
| 175 | Copy Text From One Element to AnotherRead the text from the span with id="source" and copy it into the span with id="dest" so both read "Hello". | easy | Not started | Solve |
| 176 | Set an Image's WidthSelect the image with id="pic" and set its width attribute to "200" using setAttribute(). | easy | Not started | Solve |
| 177 | Select First Paragraph by TagUse document.querySelector() with the tag name "p" to select the FIRST paragraph on the page and change its text to "Updated first". | easy | Not started | Solve |
| 183 | Increment a CounterThe span with id="counter" holds the number 5. | easy | Not started | Solve |
| 6 | Update Text and Add ClassSelect the paragraph with id="status", change its text content to "Complete", and add the CSS class "done" to it. | medium | Not started | Solve |
| 10 | Update Span Text and Add ClassSelect the span with id="counter" and change its text to "5", then add the CSS class "active" to it. | medium | Not started | Solve |
| 11 | Change Link Href and TextSelect the link with id="homeLink" and change its href attribute to "/home" and its text content to "Go Home". | medium | Not started | Solve |
| 15 | Create and Append New ElementCreate a new paragraph element with the text "This paragraph was created with JavaScript!" and append it to the div with id="container". | medium | Not started | Solve |
| 17 | Create Image Element with AttributesCreate a new image element and set its src to "photo.jpg" and alt to "My Photo". | medium | Not started | Solve |
| 18 | Create List with Multiple ItemsCreate an unordered list (<ul>) with three list items containing "Apple", "Banana", and "Orange". | medium | Not started | Solve |
| 71 | Mark a Task as DoneA list item with id="task" represents a to-do item. | medium | Not started | Solve |
| 72 | Set a Data AttributeA button with id="btn" needs a custom attribute. | medium | Not started | Solve |
| 73 | Update a Title and CounterThe page has a heading with id="title" (currently 'Welcome') and a span with id="count" (currently '0'). | medium | Not started | Solve |
| 113 | Activate the Menu TabA menu tab <div> has the id tab and the class menu-item. | medium | Not started | Solve |
| 114 | Mark the Status as DoneA status badge <span> has the id status and the class pending. | medium | Not started | Solve |
| 115 | Build a Follow ButtonAn empty container <div> has the id panel. | medium | Not started | Solve |
| 178 | Add a Class to Every List ItemSelect ALL list items inside the list with id="menu" and add the class "nav-item" to each one. | medium | Not started | Solve |
| 179 | Uppercase an Element's TextSelect the heading with id="heading", read its current text, and replace it with the UPPERCASE version. | medium | Not started | Solve |
| 180 | Append a Paragraph to a ContainerCreate a new <p> element with the text "New paragraph" and append it inside the empty div with id="box". | medium | Not started | Solve |
| 181 | Create a Link ElementCreate a new <a> element with href "https://example.com" and text "Visit", then append it inside the nav with id="nav". | medium | Not started | Solve |
| 182 | Read a Data AttributeRead the data-username value from the div with id="widget" using its dataset, and display it as the text of the span with id="output". | medium | Not started | Solve |
| 184 | Disable a ButtonSelect the button with id="saveBtn" and disable it by setting its disabled property to true. | medium | Not started | Solve |
| 185 | Remove an AttributeThe button with id="submitBtn" starts disabled. | medium | Not started | Solve |
| 186 | Clear a List's ContentsSelect the list with id="todos" and remove all of its items by setting its innerHTML to an empty string. | medium | Not started | Solve |
| 187 | Count List ItemsCount how many <li> items are inside the list with id="list" and show that number (3) as the text of the paragraph with id="count". | medium | Not started | Solve |
| 74 | Create and Append a List ItemAn empty unordered list has id="list". | hard | Not started | Solve |
| 75 | Highlight All ParagraphsA container with id="para-list" holds three <p> elements. | hard | Not started | Solve |
| 188 | Add a Status Class Based on a ScoreThe div with id="result" has a data-score attribute. | hard | Not started | Solve |
| 189 | Reverse the Order of List ItemsReverse the order of the <li> items inside the list with id="ranking" so the list reads "Third", "Second", "First". | hard | Not started | Solve |
| 190 | Move an Element Into Another ContainerMove the paragraph with id="item" out of the div with id="source" and into the div with id="target". | hard | Not started | Solve |