Skip to content

looSeeCan/Teaching-Intro-to-Javascript

Repository files navigation

Teaching Intro to Javascript

Assignment: 02/07/23 create a new folder on your desktop named "aboutMe" open vscode open your aboutMe folder in vs code

    create your html page.
        this means the files and folders that are involved. The button which when clicked will show a  picture of you and an paragraph about yourself. 
        
        Style it however you like.

02/13/23
    You should have a string that is similiar to this: "Hello World my name is Lucycan Ly and I am 43 years old".
        whatever your string is, assign parts of them to 3 variables and use template literals to combine the variables.
        assign your img src to a varible and use the variable.

    Use a conditional statement to check if the paragragh element is truthy. It is truthy if it has text inside it. If it does have text inside of it, a log to the console will say "The paragraph already has text". If it does not have text it is falsy, this is where your string that you turned into a template literal will execute. Everything on your page should be the same. All you did was assign some variables used the variables and wrote a conditional statement.

    Continue to style your page however you like.

02/14/2023
    Encapsulate your code inside a function. Call the function, passing arguments so your function is reusable.

About

Cycle11 - This is my fiirst time taking on this class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors