| Title | Open | ||||
|---|---|---|---|---|---|
| 1 | Console OutputTo display the exact string "Hello, World!" in the console, which code should you use? | easy | Not started | Printing | Solve |
| 2 | Adding Two NumbersYou have two variables, num1 = 5 and num2 = 10. | easy | Not started | Printing | Solve |
| 3 | Logging Array LengthGiven an array of fruits, which statement logs "Array length: 4"? | easy | Not started | Printing | Solve |
| 4 | For Loop 1 to 5What numbers does the following loop print? | easy | Not started | Loops | Solve |
| 5 | While Loop CountdownIf you start with let count = 5 and run the loop below, what numbers are logged? | easy | Not started | Loops | Solve |
| 6 | Do While RepetitionHow many times will "Practice makes progress" be printed by the following code? | easy | Not started | Loops | Solve |
| 7 | Sum 1 to 10After running this loop, what value is printed? | easy | Not started | Loops | Solve |
| 8 | Loop Through ArrayWhich loop correctly logs each fruit on a new line? | easy | Not started | Loops | Solve |
| 9 | Sum Array With WhileGiven const numbers = [4, 8, 2, 6];, which code sums the elements and logs "Total: 20"? | easy | Not started | Loops | Solve |
| 10 | Do While EvensWhat output results from this code? | easy | Not started | Loops | Solve |
| 11 | forEach MethodWhich array method will execute a function for each element without returning a new array? | easy | Not started | Loops | Solve |
| 11 | Copy of Element nodeValueWhat does nodeValue return for element nodes? | easy | Not started | DOM | Solve |
| 12 | Total Price With forEachGiven const prices = [10, 20, 15];, which approach correctly calculates and logs "Total price: 45"? | easy | Not started | Loops | Solve |
| 13 | Doubling With mapWhat array results from running the following code? | easy | Not started | Loops | Solve |
| 14 | Uppercase With mapWhich method converts each word in ['cat','dog','bird'] to uppercase and returns a new array? | easy | Not started | Loops | Solve |
| 15 | Filter Even NumbersHow can you obtain an array of only the even numbers from [1, 2, 3, 4, 5, 6]? | easy | Not started | Loops | Solve |
| 16 | Filter Words by LengthGiven const words = ['sun','apple','tree','grapes'];, which code returns only the words with five or more characters? | easy | Not started | Loops | Solve |
| 18 | Counting Passing ScoresUsing the array const scores = [55, 78, 90, 62, 48];, a passing score is >= 60. | easy | Not started | Loops | Solve |
| 19 | Change Text ContentTo select a paragraph with the id message and change its text to "Text has been changed!", which code is correct? | easy | Not started | HTML DOM | Solve |
| 20 | Add CSS ClassGiven a button with id="myButton", how can you add the class active to it? | easy | Not started | HTML DOM | Solve |
| 21 | Change Button TextTo change the text of the button with id="submitBtn" to "Submit Form", which statement would you use? | easy | Not started | HTML DOM | Solve |
| 22 | Add Class to HeadingHow do you select the heading with id="pageTitle" and add the CSS class highlight? | easy | Not started | HTML DOM | Solve |
| 23 | Change Image SourceWhich property do you set to change this image to avatar.png? | easy | Not started | HTML DOM | Solve |
| 24 | Multiple Style PropertiesTo set a paragraph's text color to blue, font size to 20px, and background color to light yellow, which property group should you modify? | easy | Not started | HTML DOM | Solve |
| 25 | Toggle a CSS ClassWhich method switches the class dark on and off on a div with id="themeBox"? | easy | Not started | HTML DOM | Solve |
| 26 | Replace innerHTMLTo replace all content inside this div with a new heading and paragraph, which assignment should you use? | easy | Not started | HTML DOM | Solve |
| 27 | Remove an ElementHow do you remove this paragraph from the document? | easy | Not started | HTML DOM | Solve |
| 28 | Update Link Href and TextTo update this link so that it navigates to https://example.com and displays "Visit Example", which code is correct? | easy | Not started | HTML DOM | Solve |
| 29 | Remove a CSS ClassIf the div with id="alertBox" has a class error, how do you remove that class? | easy | Not started | HTML DOM | Solve |
| 30 | Select First by ClassTo select the first element with the class highlight and change its text to "Highlighted Text", which code should you use? | easy | Not started | HTML DOM | Solve |
| 31 | Update Text and Add ClassHow can you change the text of this paragraph to "Complete" and add the class done? | easy | Not started | HTML DOM | Solve |
| 32 | Update Span TextWhich code sets the text of this span to 5 and adds the class active? | easy | Not started | HTML DOM | Solve |
| 33 | Update Home LinkWhich commands update this link so that it points to /home and reads "Go Home"? | easy | Not started | HTML DOM | Solve |
| 37 | Progressive EnhancementThe process of ensuring that web pages coded with new techniques still work in older browsers is called: | easy | Not started | Web Fundamentals | Solve |
| 38 | HTML5 Slider ControlWhich value of the type attribute creates an HTML5 slider? | easy | Not started | HTML | Solve |
| 39 | Linking to a FragmentHow do you correctly link to the #school section inside resume.html? | easy | Not started | HTML | Solve |
| 40 | CSS Proximity PrincipleWhen applying the design principle of grouping related items together, this is known as: | easy | Not started | Design | Solve |
| 41 | CSS Float RightWhich CSS correctly floats an element right with 10px margin and a solid black border? | easy | Not started | CSS | Solve |
| 42 | Relative PositioningWhich positioning method allows you to slightly shift an element from its normal location? | easy | Not started | CSS | Solve |
| 43 | Image as LinkWhich correctly creates an image that links to school.html? | easy | Not started | HTML | Solve |
| 44 | Float Right BehaviorIf an element is set to float:right, other content will: | easy | Not started | CSS | Solve |
| 45 | Triadic Color SchemeA color scheme using three colors equally spaced on the color wheel is called: | easy | Not started | Design | Solve |
| 46 | List Style ImageWhich CSS property allows you to use an image as a bullet point? | easy | Not started | CSS | Solve |
| 47 | Blockquote PurposeWhich HTML tag indents text from both left and right margins? | easy | Not started | HTML | Solve |
| 48 | Select List ControlWhich form control is best when you want to save space while offering many options? | easy | Not started | HTML Forms | Solve |
| 49 | Caption PositioningWhich CSS property controls the position of a table caption? | easy | Not started | CSS | Solve |
| 50 | Fieldset PurposeWhich HTML tag groups related form controls together visually? | easy | Not started | HTML Forms | Solve |
| 51 | Descendant SelectorWhich CSS selector targets anchor tags inside a nav element? | easy | Not started | CSS | Solve |
| 52 | Description ListWhich HTML list type is best for terms and definitions? | easy | Not started | HTML | Solve |
| 53 | Radio Button GroupsFor radio buttons to act as a group, they must share the same: | easy | Not started | HTML Forms | Solve |
| 54 | Universal SelectorWhich symbol represents the CSS universal selector? | easy | Not started | CSS | Solve |
| 55 | Span Tag UseWhich tag is used to define a generic inline container? | easy | Not started | HTML | Solve |
| 56 | nth-of-typeWhich selector allows styling every other row of a table? | easy | Not started | CSS | Solve |
| 57 | Reset ButtonWhich HTML element resets a form? | easy | Not started | HTML Forms | Solve |
| 58 | Select Tag AttributesWhich set of attributes are valid for a <select> element? | easy | Not started | HTML Forms | Solve |
| 59 | CGI MeaningWhat does CGI stand for? | easy | Not started | Web Fundamentals | Solve |
| 60 | Label AssociationWhich correctly associates a label with an input? | easy | Not started | HTML Forms | Solve |
| 61 | Padding DefinitionPadding is: | easy | Not started | CSS | Solve |
| 62 | Strict ModeDevelopers recommend running JavaScript in _______ to catch unsafe actions and common coding mistakes. | easy | Not started | JavaScript | Solve |
| 63 | Looping childNodesWhen looping through child nodes using a counter variable, which expression correctly accesses each node? | easy | Not started | DOM | Solve |
| 64 | Strict EqualityWhich operator checks both value and data type? | easy | Not started | JavaScript | Solve |
| 65 | Array Queue BehaviorWhich array method removes the first element of an array? | easy | Not started | JavaScript | Solve |
| 66 | Setting a Class NameWhich JavaScript statement sets the class of an element with id "menu1" to "menu"? | easy | Not started | DOM | Solve |
| 67 | onbeforeunload EventWhich event fires just before a page is unloaded? | easy | Not started | DOM | Solve |
| 68 | Creating a SubarrayWhich method creates a new array from part of an existing array? | easy | Not started | JavaScript | Solve |
| 70 | async AttributeWhich script attribute allows HTML parsing to continue while the script downloads and executes independently? | easy | Not started | HTML | Solve |
| 71 | HSLA MeaningIn HSLA, what does the "A" stand for? | easy | Not started | CSS | Solve |
| 72 | Box Model TransparencyWhich part of the box model is always transparent? | easy | Not started | CSS | Solve |
| 73 | Design Principle ContrastWhich design principle adds visual interest and draws attention? | easy | Not started | Design | Solve |
| 75 | Absolute PositioningWhich positioning value allows precise placement using top, left, right, or bottom? | easy | Not started | CSS | Solve |
| 76 | Background Color and ImageIf both a background color and background image are set, what happens? | easy | Not started | CSS | Solve |
| 77 | Inline CSSWhen CSS is written directly inside an HTML tag using the style attribute, it is called: | easy | Not started | CSS | Solve |
| 78 | legend TagWhich tag provides a caption for a fieldset? | easy | Not started | HTML Forms | Solve |
| 79 | nodeType ValueWhat value does nodeType return for an element node? | easy | Not started | DOM | Solve |
| 80 | nodeName for blockquoteFor a <blockquote> element, what does nodeName return? | easy | Not started | DOM | Solve |
| 81 | contextmenu EventWhich event fires when a user right-clicks an element? | easy | Not started | DOM | Solve |
| 82 | event.keyWhat does event.key return? | easy | Not started | JavaScript | Solve |
| 83 | Anonymous FunctionsWhat is an anonymous function? | easy | Not started | JavaScript | Solve |
| 84 | Event Handler LimitationA single event handler property like onclick can have: | easy | Not started | DOM | Solve |
| 85 | Element nodeValueWhat does nodeValue return for element nodes? | easy | Not started | DOM | Solve |
| 17 | Filter and Square EvensWhat output results from this code? | medium | Not started | Loops | Solve |
| 34 | Create and Append ElementWhat is the correct sequence to create a new paragraph element with the text "This paragraph was created with JavaScript!" and append it to a div with id="container"? | medium | Not started | HTML DOM | Solve |
| 35 | Create Image ElementYou need to create a new <img> element, set its src to "photo.jpg", set its alt text to "My Photo", and append it to a div with id="imageContainer". | medium | Not started | HTML DOM | Solve |
| 36 | Create List ItemsTo create a <ul> containing <li> items "Apple", "Banana" and "Orange" and append it to a div with id="fruitContainer", which sequence is correct? | medium | Not started | HTML DOM | Solve |
| 69 | Document Object TimingWhich objects are available only after the browser has parsed the HTML document? | medium | Not started | DOM | Solve |
| 74 | Link Pseudo-Class OrderWhat is the correct order for styling link pseudo-classes? | medium | Not started | CSS | Solve |