fix(guide): restructure curriculum guide articles (#36501)
* fix: restructure certifications guide articles * fix: added 3 dashes line before prob expl * fix: added 3 dashes line before hints * fix: added 3 dashes line before solutions
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
---
|
||||
title: Create a Stateless Functional Component
|
||||
---
|
||||
## Create a Stateless Functional Component
|
||||
# Create a Stateless Functional Component
|
||||
|
||||
|
||||
---
|
||||
## Hints
|
||||
|
||||
### Hint 1
|
||||
|
||||
@@ -12,16 +16,21 @@ title: Create a Stateless Functional Component
|
||||
### Hint 2
|
||||
|
||||
A return function is added like this
|
||||
````jsx
|
||||
```jsx
|
||||
return(
|
||||
<return elements>
|
||||
);
|
||||
````
|
||||
```
|
||||
|
||||
### Solution
|
||||
|
||||
````jsx
|
||||
---
|
||||
## Solutions
|
||||
|
||||
<details><summary>Solution 1 (Click to Show/Hide)</summary>
|
||||
|
||||
```jsx
|
||||
return(
|
||||
<div>Completed challenge!</div>
|
||||
);
|
||||
````
|
||||
```
|
||||
</details>
|
Reference in New Issue
Block a user