mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix: use simpler grammar in How Do You Add Attributes with setAttribute()? (#63940)
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ dashedName: how-do-you-add-attributes-with-setattribute
|
||||
|
||||
# --interactive--
|
||||
|
||||
You have been used to working with attributes in your HTML and CSS projects. But did you know that you can add attributes to your HTML elements in your JavaScript file?
|
||||
You may be familiar with working with attributes in your HTML and CSS projects. But did you know that you can add attributes to your HTML elements in your JavaScript file?
|
||||
|
||||
In this lesson, you will learn how to work with the `setAttribute()` method to add attributes to your HTML elements.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user