WGU C777 Test Bank For (Front-End Web
Development)** —Full 350-Question And Correct
Answers With Verified Solutions Grade A+.
* Based strictly on the **C777 domains**, including:
* HTML5
* CSS3
* JavaScript
* Web accessibility
* Responsive design
* Web forms
* DOM
* APIs
* Debugging & troubleshooting
* All with **correct answers**
### **1. What does the `<meta charset="UTF-8">` tag accomplish?**
A. Sets page author
B. Declares character encoding
C. Adds SEO keywords
D. Loads external metadata
**Answer: B**
---
### **2. Which HTML element is semantic?**
A. `<div>`
B. `<span>`
C. `<section>`
D. `<font>`
**Answer: C**
---
1
,Elitestudyvault
### **3. What is the default display property for the `<span>` tag?**
A. block
B. inline-block
C. inline
D. flex
**Answer: C**
---
### **4. Which CSS rule makes text bold?**
A. `font-weight: 700;`
B. `text-style: bold;`
C. `font-style: bold;`
D. `weight: bold;`
**Answer: A**
---
### **5. In the box model, padding affects:**
A. Space outside the element border
B. Space inside the element border
C. Border thickness
D. Margin collapse
**Answer: B**
---
### **6. Which CSS unit is relative to the root font size?**
A. em
B. rem
C. %
D. vh
**Answer: B**
2
,Elitestudyvault
---
### **7. JavaScript is best described as:**
A. A compiled language
B. A strictly typed language
C. A dynamically typed scripting language
D. A server-only language
**Answer: C**
---
### **8. Which symbol denotes a JavaScript template literal?**
A. ' '
B. " "
C. ``
D. ~~
**Answer: C**
---
### **9. Which method converts a JSON string into an object?**
A. `JSON.parse()`
B. `JSON.stringify()`
C. `JSON.decode()`
D. `JSON.object()`
**Answer: A**
---
### **10. Which HTML attribute is required on the `<img>` tag for accessibility?**
A. title
B. alt
C. href
3
, Elitestudyvault
D. srcset
**Answer: B**
---
### **11. Which HTTP method is used to retrieve data?**
A. POST
B. PUT
C. GET
D. DELETE
**Answer: C**
---
### **12. Which CSS selector targets an element by ID?**
A. `.idName`
B. `#idName`
C. `idName`
D. `*idName`
**Answer: B**
---
### **13. In JavaScript, `===` checks:**
A. Value only
B. Type only
C. Value and type
D. Reference only
**Answer: C**
---
### **14. Which HTML tag is used to embed JavaScript?**
A. `<js>`
4