Frontend Developer Assessment Frontend Developer Assessment 1. What does HTML stand for? Hyper Text Markup Language Hyperlinks Text Mark Language Home Tool Markup Language Hyper Tool Markup Language 2. Which tag is used to create a hyperlink in HTML? <link> <a> <href> <hyperlink> 3. Which tag is used for the largest heading? <heading> <h6> <h1> <head> 4. What is the correct way to insert an image? <img href="image.jpg"> <image src="image.jpg"> <img src="image.jpg"> <pic src="image.jpg"> 5. Which HTML element defines the title of a document? <meta> <head> <title> <header> 6. What does CSS stand for? Computer Style Sheets Colorful Style Sheets Cascading Style Sheets Creative Style Sheets 7. Which property is used to change the background color? color bgcolor background-color background 8. How do you make text bold in CSS? font-weight: bold; font: bold; weight: bold; text-weight: bold; 9. Which CSS property controls the text size? text-size font-style font-size text-style 10. How do you select an element with id "header" in CSS? .header #header header *header 11. Which symbol is used for comments in JavaScript? // comment /* comment */ # comment Both A and B 12. Which of the following is not a JavaScript data type? Undefined Number Float Boolean 13. How do you declare a JavaScript variable? var myVar; variable myVar; v myVar; declare myVar; 14. What is the output of: console.log(typeof [])? array object undefined list 15. How do you write a function in JavaScript? function = myFunc() function myFunc() {} def myFunc() {} func myFunc() {} 21. What is JSX? A JavaScript extension for writing HTML A CSS preprocessor A database query language A backend framework 22. How do you create a React component? function MyComponent() { return ... } component MyComponent() { ... } class = MyComponent { ... } def MyComponent() { ... } 23. Which hook is used to handle state in functional components? useState() useEffect() useRef() useReducer() 24. Which method is used to render content to the DOM? ReactDOM.render() React.mount() React.insert() React.create() 25. What is the purpose of props in React? To store local component data To pass data to components To define styles To create event handlers Submit ⚠ Please review your answers carefully before submitting the test.